WP_User::get_role_caps()
Retrieves all of the capabilities of the user’s roles, and merges them with individual user capabilities.
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.
Retrieves all of the capabilities of the user’s roles, and merges them with individual user capabilities.
Gets the ID of the site for which the user’s capabilities are currently initialized.
Returns whether the user has the specified capability.
Determines whether a property or meta key is set.
Sets up object properties, including capabilities.
Chooses the maximum level the user has.
Removes all of the capabilities of the user.
Removes capability from user.
Removes role from user.
Sets the role of the user.