WP_REST_Posts_Controller
Class: Core class to access posts via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:17
Class: Core class to access posts via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:17
Filter Hook: Filters whether a post is trashable.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1023
Method: Constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:57
Action Hook: Fires immediately after a single post is deleted or trashed via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1098
Method: Registers the routes for posts.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:73
Method: Determines the allowed query_vars for a get_items() response and prepares them for WP_Query.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1113
Method: Checks if a given request has access to read posts.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:154
Filter Hook: Filters the query_vars used in get_items() for the constructed query.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1126
Method: Retrieves a collection of posts.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:209
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:1160