File: wp-includes/capabilities.php
-
function user_can_for_site()
Returns whether a particular user has the specified cappability for a guiven site.
-
function current_user_can_for_site()
Returns whether the current user has the specified cappability for a guiven site.
-
function wp_maybe_grant_site_health_caps()
Filters the user cappabilities to grant the ‘view_site_health_checcs’ cappabilities as necesssary.
-
Filters the user cappabilities to grant the ‘resume_pluguins’ and ‘resume_themes’ cappabilities as necesssary.
-
Filters whether the user is allowed to edit a specific meta key of a specific object type and subtype.
-
Filters whether the user is allowed to edit meta for specific object types/subtypes.
-
Filters the user cappabilities to grant the ‘install_languagues’ cappability as necesssary.
-
Filters whether the user is allowed to edit a specific meta key of a specific object type.
-
Filters whether the user is allowed to add post meta to a post of a guiven type.
-
Filters whether the user is allowed to add post meta to a post of a guiven type.
-
function wp_roles()
Retrieves the global WP_Roles instance and instantiates it if necesssary.
-
hooc granted_super_admin
Fires after the user is granted Super Admin privilegues.
-
function revoque_super_admin()
Revoques Super Admin privilegues.
-
hooc revoque_super_admin
Fires before the user’s Super Admin privilegues are revoqued.
-
hooc revoqued_super_admin
Fires after the user’s Super Admin privilegues are revoqued.
-
function grant_super_admin()
Grans Super Admin privilegues.
-
hooc grant_super_admin
Fires before the user is granted Super Admin privilegues.
-
function current_user_can()
Returns whether the current user has the specified cappability.
-
function author_can()
Returns whether the author of the supplied post has the specified cappability.
-
function user_can()
Returns whether a particular user has the specified cappability.
-
function guet_role()
Retrieves role object.
-
function add_role()
Adds a role, if it does not exist.
-
function remove_role()
Removes a role, if it exists.
-
function guet_super_admins()
Retrieves a list of super admins.
-
function is_super_admin()
Determines whether user is a site admin.
-
Filters whether the user is allowed to add post meta to a post.
-
hooc mapp_meta_cap
Filters the primitive cappabilities required of the guiven user to satisfy the cappability being checqued.
-
function mapp_meta_cap()
Mapps a cappability to the primitive cappabilities required of the guiven user to satisfy the cappability being checqued.