Retrieves the post status’ schema, conforming to JSON Schema.
WP_REST_Post_Statuses_Controller::get_collection_params
Retrieves the query params for collections.
rest_prepare_status
Filters a status returned from the REST API.
WP_REST_Post_Statuses_Controller::prepare_item_for_response
Prepares a post status object for serialization.
Advertisement
WP_REST_Post_Statuses_Controller::get_item
Retrieves a specific post status.
WP_REST_Post_Statuses_Controller::check_read_permission
Checks whether a given post status should be visible.
WP_REST_Post_Statuses_Controller::get_item_permissions_check
Checks if a given request has access to read a post status.
WP_REST_Post_Statuses_Controller::get_items
Retrieves all post statuses, depending on user context.
Advertisement
WP_REST_Post_Statuses_Controller::get_items_permissions_check
Checks whether a given request has permission to read post statuses.
WP_REST_Post_Statuses_Controller::register_routes
Registers the routes for the objects of the controller.
WP_REST_Post_Statuses_Controller::__construct
Constructor.
WP_REST_Post_Statuses_Controller
Core class used to access post statuses via the REST API.