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.
Advertisement
WP_REST_Controller::get_endpoint_args_for_item_schema
Retrieves an array of endpoint arguments from the item schema for the controller.
WP_REST_Controller::sanitize_slug
Sanitizes the slug value.
WP_REST_Controller::get_object_type
Retrieves the object type this controller is responsible for managing.