Tagged Questions
1
vote
1answer
28 views
Query users by capability - uninstall/deactivate callback
The situation
Running on MU, I'm writing an open source/publically and freely available plugin. As I used add_screen_option() to allow users to easily setup the admin page to their likings, I'm left ...
0
votes
1answer
134 views
Exclude main blog from get_blogs_of_user
I use WordPress Multisite and in the sidebar i have a box that shows a list of blogs the logged in user is a member of.
I'm looking for a way to exclude the mainblog from this list.
The main blog ID ...
0
votes
2answers
200 views
Solving a get_user_meta() problem in Multisite
I am currently building a network of blogs for individual real estate agents. Currently, a broker will have a main site, with agents sites added as subdirectories, e.g., www.example.com and ...
2
votes
2answers
789 views
get_user_meta() to Return User Meta Only for Current Blog in Multi Site
I've written a plugin that allows users to bookmark their favorite posts, but have run into a small problem when using it on a multisite network.
Each time a post is bookmarked, the ID of that post ...
1
vote
1answer
121 views
How is a user's primary blog determined?
The wp_usermeta database table has a primary_blog meta field for each user. Where is the value for that field set in the Admin Panel, and how can I override the default value?