Advertisement

is_super_admin

Determine if user is a site admin.

Advertisement

remove_role

Remove role, if it exists.

add_role

Add role, if it does not exist.

get_role

Retrieve role object.

Advertisement

wp_roles

Retrieves the global WP_Roles instance and instantiates it if necessary.

user_can

Whether a particular user has a specific capability.

author_can

Whether the author of the supplied post has a specific capability.

Advertisement

current_user_can

Whether the current user has a specific capability.

map_meta_cap

Map meta capabilities to primitive capabilities.