ClassicPress logo
Skip to content
Filter by type:
Browse: Home / wp-includes/class-wp-user.php / Page 2

WP_User::has_cap()

Method: Whether the user has a specific capability.

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

Used by 0 functions | Uses 7 functions

user_has_cap

Filter Hook: Dynamically filter a user’s capabilities.

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

Used by 1 function | Uses 0 functions

WP_User::translate_level_to_cap()

Method: Convert numeric level to level capability name.

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

Used by 1 function | Uses 0 functions

WP_User::for_blog()

Method: Set the site to operate on. Defaults to the current site.

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

Used by 0 functions | Uses 2 functions

WP_User::for_site()

Method: Sets the site to operate on. Defaults to the current site.

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

Used by 2 functions | Uses 5 functions

WP_User::get_site_id()

Method: Gets the ID of the site for which the user’s capabilities are currently initialized.

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

Used by 0 functions | Uses 0 functions

WP_User::get_caps_data()

Method: Gets the available user capabilities data.

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

Used by 2 functions | Uses 1 function

WP_User

Class: Core class used to implement the WP_User object.

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

Used by 0 functions | Uses 0 functions

WP_User::add_role()

Method: Add role to user.

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

Used by 0 functions | Uses 5 functions

WP_User::get_role_caps()

Method: Retrieve all of the role capabilities and merge with individual capabilities.

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

Used by 8 functions | Uses 6 functions
« Previous 1 2 3 4 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy