A WordPress-centric search engine for devs and theme authors



deleted_post ›

Since2.2.0
Deprecatedn/a
do_action( 'deleted_post', $postid )
Parameters:
  • (int) $postid Post ID.
    Required: Yes
Defined at:
Codex:

Fires immediately after a post is deleted from the database.





Source

do_action( 'deleted_post', $postid );