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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites: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 questions only user 9579

WordPress uses a concept of Roles, designed to give the site owner the ability to control what users can and cannot do within the site. Each role is allowed to perform a set of tasks called Capabilities.

2
votes
1answer
Upon dumping the \WP_User object, I've noticed that there are two properties, which are directly related to capabilities for a particular user. $user_object->caps $user_object->allcaps I've … $user_object->allcaps. What's the difference between the two properties $user_object->caps and $user_object->allcaps? Is there ever a situation where the capabilities listed in $user_object->caps WOULDN'T be …
asked Jan 30 '18 by Michael Ecklund
6
votes
2answers
Should custom user capabilities be added before the custom user role has been added, or the other way around? add_role() asks for and array of $capabilities in the third parameter of the function … thinking, create the custom user capabilities using add_cap() and store the list of capabilities in a class property array. Then, create each custom user role using add_role(), and add the newly created …
asked Oct 11 '12 by Michael Ecklund
1
vote
1answer
I've migrated several sites from standalone installs into a Multisite install. For the user table, I just recreated each new user individually one by one, and readjusted the user ID's accordingly els …
asked Oct 31 '16 by Michael Ecklund