ClassicPress logo
Skip to content
Filter by type:

Browse:

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

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

rest_{$this->post_type}_query

Filter Hook: Filters WP_Query arguments when querying posts via the REST API.

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

Used by 1 function | Uses 0 functions

WP_REST_Posts_Controller::prepare_date_response()

Method: Checks the post_date_gmt or modified_gmt and prepare any post or modified date for single post output.

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

Used by 1 function | Uses 0 functions

WP_REST_Posts_Controller::get_post()

Method: Gets the post, if the ID is valid.

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

Used by 8 functions | Uses 0 functions

WP_REST_Posts_Controller::prepare_item_for_database()

Method: Prepares a single post for create or update.

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

Used by 2 functions | Uses 6 functions

WP_REST_Posts_Controller::get_item_permissions_check()

Method: Checks if a given request has access to read a post.

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

Used by 1 function | Uses 4 functions

rest_pre_insert_{$this->post_type}

Filter Hook: Filters a post before it is inserted via the REST API.

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

Used by 1 function | Uses 0 functions

WP_REST_Posts_Controller::can_access_password_content()

Method: Checks if the user can access password-protected content.

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

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