ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
  • Page 2

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

Used by 1 function | Uses 0 functions

WP_REST_Posts_Controller::protected_title_format()

Method: Overwrites the default protected title format.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2019

Used by 0 functions | Uses 0 functions

WP_REST_Posts_Controller::prepare_links()

Method: Prepares links for the request.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2031

Used by 2 functions | Uses 1 function

WP_REST_Posts_Controller::get_available_actions()

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

Used by 1 function | Uses 1 function

WP_REST_Posts_Controller::get_item_schema()

Method: Retrieves the post’s schema, conforming to JSON Schema.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2203

Used by 4 functions | Uses 4 functions

WP_REST_Posts_Controller::get_schema_links()

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

Used by 2 functions | Uses 0 functions

WP_REST_Posts_Controller::get_collection_params()

Method: Retrieves the query params for the posts collection.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2756

Used by 3 functions | Uses 3 functions

rest_{$this->post_type}_collection_params

Filter Hook: Filters collection parameters for the posts controller.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2937

Used by 1 function | Uses 0 functions

WP_REST_Posts_Controller::handle_terms()

Method: Updates the post’s terms from a REST request.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1566

Used by 2 functions | Uses 0 functions

WP_REST_Posts_Controller::sanitize_post_statuses()

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

Used by 0 functions | Uses 1 function
« Previous 1 2 3 … 6 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy