wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



after_delete_post › WordPress Action Hooks

Da5.5.0
Deprecaton/a
› do_action( 'after_delete_post', $post_id, $post )
Parametri: (2)
  • () post_id Post ID.
    Richiesto: Sì
  • () post Post object.
    Richiesto: Sì
Vedi:
  • wp_delete_post()
Definito a:
Codex:

Fires after a post is deleted, at the conclusion of wp_delete_post().





Sorgenti

do_action( 'after_delete_post', $post_id, $post );