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



wp_restore_post_revision ›

Since2.6.0
已弃用n/a
do_action( 'wp_restore_post_revision', $post_id, $revision['ID'] )
参数: (2)
  • (int) $post_id Post ID.
    Required: Yes
  • (int) $revision_id Post revision ID.
    Required: Yes
定义在:
文档:

Fires after a post revision has been restored.





源码

do_action( 'wp_restore_post_revision', $post_id, $revision['ID'] );