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



wp_delete_post_revision ›

Since2.6.0
已弃用n/a
do_action( 'wp_delete_post_revision', $revision->ID, $revision )
参数: (2)
  • (int) $revision_id Post revision ID.
    Required: Yes
  • (object|array) $revision Post revision object or array.
    Required: Yes
定义在:
文档:

Fires once a post revision has been deleted.





源码

do_action( 'wp_delete_post_revision', $revision->ID, $revision );