ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • Methods
  • Page 274

WP_REST_Posts_Controller::get_items()

Method: Retrieves a collection of posts.

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

Used by 0 functions | Uses 11 functions

WP_REST_Posts_Controller::get_items_permissions_check()

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

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

Used by 1 function | Uses 1 function

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::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::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::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::handle_template()

Method: Sets the template for a post.

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

Used by 2 functions | Uses 1 function

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

Used by 2 functions | 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::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
« Previous 1 … 273 274 275 … 387 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy