wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
delete_post_{$post->post_type} › WordPress Action Hooks
Da6.6.0
Deprecaton/a
› do_action( "delete_post_{$post->post_type}", $post_id, $post )
| Parametri: (2) |
|
| Definito a: |
|
| Codex: |
Fires immediately before a post is deleted from the database.
The dynamic portion of the hook name, `$post->post_type`, refers to the post type slug.Funzioni correlate: delete_post_meta, get_post_type, set_post_type, create_initial_post_types, get_post_mime_type, get_post_types