|wp-includes/rest-api.php: rest_authorization_required_code()|| |
Returns a contextual HTTP error code for authorization failure.
|wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php: WP_REST_Post_Types_Controller::prepare_item_for_response()|| |
Prepares a post type object for serialization.
|wp-includes/rest-api.php: rest_ensure_response()|| |
Ensures a REST response is a response object (for consistency).
|wp-includes/capabilities.php: current_user_can()|| |
Whether the current user has a specific capability.
|wp-includes/l10n.php: __()|| |
Retrieve the translation of $text.
|wp-includes/post.php: get_post_type_object()|| |
Retrieves a post type object by name.
|wp-includes/class-wp-error.php: WP_Error::__construct()|| |
Initialize the error.