WP_Role::has_cap()
Determines whether the role has the given capability.
Welcome to the WPPaste WordPress Method index. This page contains a an alphabetically sorted list of methods that are available for use in WordPress. Each method has a brief description of what it does and how it can be used. To find out more about a particular method, simply click on the method name.
Determines whether the role has the given capability.
Removes a capability from a role.
Make private/protected methods readable for backward compatibility.
Constructor
Set up the object properties.
Add capability to role.
Add role name with capabilities to list.
Sets the site to operate on. Defaults to the current site.
Retrieve list of role names.
Retrieve role object by name.