Uses
Uses | Description |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::get_user() | Get the user, if the ID is valid. |
wp-includes/rest-api.php: rest_authorization_required_code() | Returns a contextual HTTP error code for authorization failure. |
wp-includes/capabilities.php: current_user_can() | Returns whether the current user has the specified capability. |
wp-includes/l10n.php: __() | Retrieve the translation of $text. |
wp-includes/user.php: get_current_user_id() | Get the current user’s ID |
wp-includes/user.php: count_user_posts() | Number of posts user has written. |
wp-includes/post.php: get_post_types() | Get a list of all registered post type objects. |
wp-includes/load.php: is_wp_error() | Check whether variable is a WordPress Error. |
wp-includes/class-wp-error.php: WP_Error::__construct() | Initialize the error. |