rest_prepare_post_type
Filter Hook: Filters a post type returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:270
Filter Hook: Filters a post type returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:270
Method: Prepares the item for the REST response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:254
Method: Registers the routes for post statuses.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php:36
Method: Prepares a single post output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1753
Method: Retrieves the post type’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:302
Method: Prepares a response for insertion into a collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:271
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
Filter Hook: Filters the post data for a REST API response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2013
Method: Retrieves the query params for collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:424
Method: Filters a response based on the context defined in the schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:296