Filters the user capabilities to grant the ‘resume_plugins’ and ‘resume_themes’ capabilities as necessary.
wp_maybe_grant_site_health_caps
Filters the user capabilities to grant the ‘view_site_health_checks’ capabilities as necessary.
wp_maybe_grant_install_languages_cap
Filters the user capabilities to grant the ‘install_languages’ capability as necessary.
revoke_super_admin
Revokes Super Admin privileges.
Advertisement
grant_super_admin
Grants Super Admin privileges.
is_super_admin
Determine if user is a site admin.
get_super_admins
Retrieve a list of super admins.
remove_role
Remove role, if it exists.
Advertisement
add_role
Add role, if it does not exist.
get_role
Retrieve role object.
wp_roles
Retrieves the global WP_Roles instance and instantiates it if necessary.
user_can
Whether a particular user has a specific capability.
Advertisement
author_can
Whether the author of the supplied post has a specific capability.
current_user_can
Whether the current user has a specific capability.
current_user_can_for_blog
Whether the current user has a specific capability for a given site.