A WordPress-centric search engine for devs and theme authors



wp_restore_post_revision ›

Since2.6.0
Deprecatedn/a
do_action( 'wp_restore_post_revision', $post_id, $revision['ID'] )
Parameters: (2)
  • (int) $post_id Post ID.
    Required: Yes
  • (int) $revision_id Post revision ID.
    Required: Yes
Defined at:
Codex:

Fires after a post revision has been restored.





Source

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