wpseek.com
A WordPress-centric search engine for devs and theme authors
deleted_post_{$post->post_type} › WordPress Action Hooks
Since6.6.0
Deprecatedn/a
› do_action( "deleted_post_{$post->post_type}", $post_id, $post )
| Parameters: (2) |
|
| Defined at: |
|
| Codex: |
Fires immediately after a post is deleted from the database.
The dynamic portion of the hook name, `$post->post_type`, refers to the post type slug.Related Functions: delete_post_meta, get_post_type, set_post_type, create_initial_post_types, get_post_types, get_post_mime_type