rest_prepare_status
Filter Hook: Filters a post status returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php:284
Filter Hook: Filters a post status returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php:284
Method: Retrieves the post status’ schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php:294
Method: Retrieves the query params for collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php:367
Class: Core class used to access post statuses via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php:17
Method: Constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php:24
Method: Registers the routes for post statuses.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php:36
Method: Checks whether a given request has permission to read post statuses.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php:83
Method: Retrieves all post statuses, depending on user context.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php:111
Method: Checks if a given request has access to read a post status.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php:138
Method: Checks whether a given post status should be visible.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php:170