WP_REST_Post_Statuses_Controller
Core class used to access post statuses via the REST API.
Core class used to access post statuses via the REST API.
Constructor.
Checks whether a given post status should be visible.
Retrieves the query params for collections.
Retrieves a specific post status.
Checks if a given request has access to read a post status.
Retrieves the post status’ schema, conforming to JSON Schema.
Retrieves all post statuses, depending on user context.
Checks whether a given request has permission to read post statuses.
Prepares a post status object for serialization.