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
Method: Deletes a single post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:809
Method: Constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:50
Filter Hook: Filters whether a post is trashable.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:836
Method: Registers the routes for the objects of the controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:66
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:885