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 answers only user 9364

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.

0
votes
I have found the cause of this problem. The reason is due to the capabilities argument in the category taxonomy. i.e. array( 'manage_terms' => 'manage_categories', 'edit_terms …
answered Oct 28 '11 by Stephen Harris
2
votes
You should be able to use current_user_can inside the admin_init hooked callback. See the Codex examples.
answered Feb 13 '12 by Stephen Harris
13
votes
You want the admin_menu hook, rather than admin_init. Also, you shouldn't use anonymous functions. Instead, use: function wpse51004_add_menu_page() { add_menu_page('Some Page', 'Some Page', 'ma …
answered May 3 '12 by Stephen Harris
2
votes
This is similar approach to @brasofilo. But only works in the edit post screen, rather than quick edit, and includes all users (not just authors and subscribers). /* Remove Author meta box from post …
answered May 2 '12 by Stephen Harris
1
vote
You need to exit() after you set the header (and I'd recommend using wp_redirect()). Untested, but the following should work. If it's really the case that current_user_can() isn't working, I'd first …
answered Jul 22 '14 by Stephen Harris