rest_{$this->post_type}_trashable
Filter Hook: Filters whether a post is trashable.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1029
Filter Hook: Filters whether a post is trashable.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1029
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:1104
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:1119
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:1132
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:1166
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