Uses
Uses | Description |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::get_post() | Get the post, if the ID is valid. |
wp-includes/rest-api.php: rest_authorization_required_code() | Returns a contextual HTTP error code for authorization failure. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::check_delete_permission() | Checks if a post can be deleted. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::prepare_item_for_response() | Prepares a single post output for response. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: rest_{$this->post_type}_trashable | Filters whether a post is trashable. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: rest_delete_{$this->post_type} | Fires immediately after a single post is deleted or trashed via the REST API. |
wp-includes/l10n.php: __() | Retrieve the translation of $text. |
wp-includes/plugin.php: apply_filters() | Calls the callback functions that have been added to a filter hook. |
wp-includes/plugin.php: do_action() | Execute functions hooked on a specific action hook. |
wp-includes/post.php: wp_delete_post() | Trash or delete a post or page. |
wp-includes/post.php: wp_trash_post() | Move a post or page to the Trash |
wp-includes/post.php: get_post() | Retrieves post data given a post ID or post object. |
wp-includes/load.php: is_wp_error() | Check whether variable is a WordPress Error. |
wp-includes/class-wp-error.php: WP_Error::__construct() | Initialize the error. |