ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • 2.0.0
  • Page 4

WP_Role::add_cap()

Method: Assign role a capability.

Source: wp-includes/class-wp-role.php:59

Used by 0 functions | Uses 0 functions

WP_User

Class: Core class used to implement the WP_User object.

Source: wp-includes/class-wp-user.php:41

Used by 0 functions | Uses 0 functions

WP_Role::remove_cap()

Method: Removes a capability from a role.

Source: wp-includes/class-wp-role.php:71

Used by 0 functions | Uses 0 functions

WP_User::__construct()

Method: Constructor.

Source: wp-includes/class-wp-user.php:125

Used by 0 functions | Uses 0 functions

WP_Role::has_cap()

Method: Determines whether the role has the given capability.

Source: wp-includes/class-wp-role.php:84

Used by 0 functions | Uses 0 functions

WP_User::get_role_caps()

Method: Retrieves all of the capabilities of the user’s roles, and merges them with individual user capabilities.

Source: wp-includes/class-wp-user.php:503

Used by 0 functions | Uses 0 functions

role_has_cap

Filter Hook: Filters which capabilities a role has.

Source: wp-includes/class-wp-role.php:95

Used by 0 functions | Uses 0 functions

WP_User::add_role()

Method: Adds role to user.

Source: wp-includes/class-wp-user.php:542

Used by 0 functions | Uses 0 functions

WP_User::remove_role()

Method: Removes role from user.

Source: wp-includes/class-wp-user.php:574

Used by 0 functions | Uses 0 functions

WP_User::set_role()

Method: Sets the role of the user.

Source: wp-includes/class-wp-user.php:606

Used by 0 functions | Uses 0 functions
« Previous 1 … 3 4 5 … 23 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy