ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php

WP_REST_Post_Types_Controller::prepare_links()

Method: Prepares links for the request.

Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:281

Used by 1 function | Uses 0 functions

WP_REST_Post_Types_Controller

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

Used by 0 functions | Uses 1 function

WP_REST_Post_Types_Controller::__construct()

Method: Constructor.

Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:24

Used by 0 functions | Uses 0 functions

WP_REST_Post_Types_Controller::register_routes()

Method: Registers the routes for post types.

Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:36

Used by 0 functions | Uses 1 function

WP_REST_Post_Types_Controller::get_items_permissions_check()

Method: Checks whether a given request has permission to read types.

Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:83

Used by 0 functions | Uses 1 function

WP_REST_Post_Types_Controller::get_items()

Method: Retrieves all public post types.

Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:111

Used by 0 functions | Uses 2 functions

WP_REST_Post_Types_Controller::get_item()

Method: Retrieves a specific post type.

Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:135

Used by 0 functions | Uses 2 functions

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:177

Used by 2 functions | Uses 3 functions

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

Used by 1 function | Uses 0 functions

WP_REST_Post_Types_Controller::get_item_schema()

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

Used by 0 functions | Uses 0 functions
1 2 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy