A WordPress-centric search engine for devs and theme authors



after_delete_post ›

Since3.2.0
Deprecatedn/a
do_action( 'after_delete_post', $postid )
Parameters:
  • (int) $postid Post ID.
    Required: Yes
See:
  • wp_delete_post()
Defined at:
Codex:

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





Source

do_action( 'after_delete_post', $postid );