WP_REST_Posts_Controller::get_items()
Retrieves a collection of posts.
Retrieves a collection of posts.
Checks if a given request has access to read posts.
Determines the featured media based on a request param.
Determines validity and normalizes the given status parameter.
Sets the template for a post.
Updates the post’s terms from a REST request.
Checks the post_date_gmt or modified_gmt and prepare any post or modified date for single post output.
Prepares a single post for create or update.
Prepares a single post output for response.
Determines the allowed query_vars for a get_items() response and prepares them for WP_Query.