__construct()
__construct()
Roles_Capabilities constructor.
Class Roles_Capabilities
get_all_user_roles( $user_id) : array|boolean
$user_id |
None found |
get_priority_user_role( $user_id) : boolean|mixed
$user_id |
None found |
get_editable_priority_user_role( $user_id) : boolean|mixed
$user_id |
None found |
get_um_user_role( $user_id) : boolean|mixed
$user_id |
None found |
get_role_name( $slug) : boolean|string
Get role name by roleID
$slug |
None found |
role_data(integer $roleID) : mixed|void
Get role data
integer | $roleID | Role ID |
None found |
get_roles(boolean $add_default = false, null $exclude = null) : array
Query for UM roles
boolean | $add_default | |
null | $exclude |
None found |