ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • ClassicPress
  • Users
  • Page 8

WP_User::has_cap()

Method: Returns whether the user has the specified capability.

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

Used by 0 functions | Uses 0 functions

WP_User::to_array()

Method: Returns an array representation.

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

Used by 0 functions | Uses 0 functions

user_has_cap

Filter Hook: Dynamically filter a user’s capabilities.

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

Used by 0 functions | Uses 0 functions

WP_User::__call()

Method: Makes private/protected methods readable for backward compatibility.

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

Used by 0 functions | Uses 0 functions

WP_User::translate_level_to_cap()

Method: Converts numeric level to level capability name.

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

Used by 0 functions | Uses 0 functions

WP_User::_init_caps()

Method: Sets up capability object properties.

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

Used by 0 functions | Uses 0 functions

WP_User::for_blog()

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

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

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

WP_User::for_site()

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

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

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
« Previous 1 … 7 8 9 … 27 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy