WP_REST_Post_Types_Controller
Core class to access post types via the REST API.
Core class to access post types via the REST API.
Constructor.
Retrieves the query params for collections.
Retrieves a specific post type.
Retrieves the post type’s schema, conforming to JSON Schema.
Retrieves all public post types.
Checks whether a given request has permission to read types.
Prepares a post type object for serialization.
Registers the routes for post types.
Filters a post type returned from the REST API.