WP_REST_Posts_Controller::delete_item_permissions_check()
Method: Checks if a given request has access to delete a post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:971
Method: Checks if a given request has access to delete a post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:971
Class: Core class to access posts via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:17
Method: Deletes a single post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:996
Method: Constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:57
Filter Hook: Filters whether a post is trashable.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1029
Method: Registers the routes for posts.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:73
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: Checks if a given request has access to read posts.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:154
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: Retrieves a collection of posts.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:209