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:1020
Filter Hook: Filters whether a post is trashable.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1020
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:1095
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:1110
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:1123
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:1157
Action Hook: Fires after a single post is created or updated via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:709
Method: Checks if a given request has access to update a post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:794
Method: Updates a single post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:845
Method: Checks if a given request has access to delete a post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:962
Method: Deletes a single post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:987
Method: Creates a single post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:640
Method: Checks if a given request has access to read a post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:479
Method: Checks if the user can access password-protected content.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:528
Method: Retrieves a single post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:562
Method: Checks if a given request has access to create a post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:586
Class: Core class to access posts via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:17
Method: Constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:57
Method: Registers the routes for posts.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:73
Method: Checks if a given request has access to read posts.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:154
Method: Retrieves a collection of posts.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:209
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:359