wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
rest_delete_{$this->post_type} › Les Actions WordPress
Depuis4.7.0
Dépréciéen/a
› do_action( "rest_delete_{$this->post_type}", $post, $response, $request )
| Paramètres: (3) |
|
| Défini(e) dans: | |
| Codex: |
Fires immediately after a single post is deleted or trashed via the REST API.
They dynamic portion of the hook name, `$this->post_type`, refers to the post type slug. Possible hook names include: - `rest_delete_post` - `rest_delete_page` - `rest_delete_attachment`Fonctions en relation: get_delete_post_link, set_post_type, delete_post_meta, get_post_type, get_default_post_to_edit, rest_get_route_for_post_type_items