Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Bookmarks inbookmarks:mine
inbookmarks:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options user 109779

Names for a set of user capabilities.

0
votes
You need to update the user straight after they have been created. So yes, by default they get all then you update. wp_update_user( array ('ID' => $user_id, 'role' => 'user_role_here') ); The above …
answered Jul 5 '17 by CHEWX
0
votes
2answers
Have allowed users to register their own website and at the same time this adds them as a user to that site. However, is there a way to default them to a subscriber of the site they are signing up fo …
asked Jan 2 '17 by CHEWX
1
vote
Ok, so this isn't possible to do by default. As I already had a hook for wpmu_activate_blog() I just created another with a lower priority which will be fired after. This function also has the 2 param …
answered Jan 2 '17 by CHEWX
2
votes
I know this is old, but this is the best way. Might help people coming here in the future. $get_users = get_users( array( 'blog_id' => get_current_blog_id() ) ); $user_id = $get_users[0]->ID;
answered Dec 28 '16 by CHEWX