WP_REST_Post_Types_Controller::prepare_item_for_response()
Method: Prepares a post type object for serialization.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:148
Method: Prepares a post type object for serialization.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:148
Filter Hook: Filters a post type returned from the API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:224
Method: Retrieves the post type’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:234
Method: Retrieves the query params for collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:315
Class: Core class to access post types via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:17
Method: Constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:24
Method: Registers the routes for the objects of the controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:36
Method: Checks whether a given request has permission to read types.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:74
Method: Retrieves all public post types.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:96
Method: Retrieves a specific post type.
Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:119