ClassicPress logo
Skip to content
Filter by type:

Browse:

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

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

WP_REST_Posts_Controller::handle_status_param()

Method: Determines validity and normalizes the given status parameter.

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

Used by 1 function | Uses 1 function

WP_REST_Posts_Controller::get_item()

Method: Retrieves a single post.

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

Used by 0 functions | Uses 3 functions

WP_REST_Posts_Controller::handle_featured_media()

Method: Determines the featured media based on a request param.

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

Used by 2 functions | Uses 0 functions

WP_REST_Posts_Controller::create_item_permissions_check()

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

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

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