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 847

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.

5
votes
Yes, you can run WordPress with your own domain if you purchase hosting for it. WordPress has system of Roles (which can be further enhanced via plugins), you can let users register and allow to perf …
answered Nov 14 '10 by Rarst
2
votes
Just like CPT capabilities those of taxonomy are also customizable, in register_taxonomy(): capabilities 'manage_terms' - 'manage_categories' 'edit_terms' - 'manage_categories … customize capabilities for taxonomy in question and give respective capability to authors, so that they can create terms in it (but not in other taxonomies). …
answered Jul 24 '14 by Rarst
7
votes
It is hard to come up with precise answer since capabilities are often used more broadly than they imply. For example check for manage_options is usually synonym to check for admin user and can come …
answered Sep 11 '15 by Rarst
1
vote
According to register_post_type() documentation capability_type argument is used to construct capabilities. I think since you are customizing it for the post type, its capabilities requirements won't be formed like read_post but like read_an_group. …
answered Apr 30 '13 by Rarst
14
votes
Try this: function get_role_names() { global $wp_roles; if ( ! isset( $wp_roles ) ) $wp_roles = new WP_Roles(); return $wp_roles->get_names(); } PS heh, missed that explanation and reply, to …
answered Sep 11 '10 by Rarst
0
votes
I don't use plugin myself, so speaking theoretically. There are two parts to this: Determine if user has role that can see menus. Plugin's documentation describes current_user_has_role() function fo …
answered Sep 20 '10 by Rarst
2
votes
From quick look at code the likely permissions check for that is edit_comment capability in edit_comment() function. Your options to remove that capability roughly are: customize the role with plug …
answered Jun 18 '13 by Rarst
1
vote
Not sure is that a rule or just something that happens to work that way, but most of function that take capability as argument also accept roles in same argument. If I am not mistaken passing lowest …
answered Dec 25 '10 by Rarst