rest_prepare_{$this->post_type}
Filter Hook: Filters the post data for a REST API response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2005
Filter Hook: Filters the post data for a REST API response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2005
Method: Overwrites the default protected title format.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2019
Method: Prepares links for the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2031
Method: Gets the link relations available for the post and current user.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2148
Method: Retrieves the post’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2203
Method: Retrieves Link Description Objects that should be added to the Schema for the posts collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2628
Method: Retrieves the query params for the posts collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2756
Filter Hook: Filters collection parameters for the posts controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2937
Method: Updates the post’s terms from a REST request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1566
Method: Sanitizes and validates the list of post statuses, including whether the user can query private statuses.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2951