WordPress开发者和主题制作者的搜索引擎



after_delete_post ›

Since3.2.0
已弃用n/a
do_action( 'after_delete_post', $postid )
参数:
  • (int) $postid Post ID.
    Required: Yes
查看:
  • wp_delete_post()
定义在:
文档:

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





源码

do_action( 'after_delete_post', $postid );