ClassicPress logo
Skip to content
Filter by type:

Browse:

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

WP_REST_Posts_Controller::check_delete_permission()

Method: Checks if a post can be deleted.

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

Used by 2 functions | Uses 2 functions

WP_REST_Posts_Controller::prepare_item_for_response()

Method: Prepares a single post output for response.

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

Used by 5 functions | Uses 19 functions

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

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

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

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

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

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

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

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

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