wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_put_post_revision › WordPress Action Hooks

Since6.4.0
Deprecatedn/a
do_action( '_wp_put_post_revision', $revision_id, $post['post_parent'] )
Parameters: (2)
  • (int) $revision_id Post revision ID.
    Required: Yes
  • (int) $post_id Post ID.
    Required: Yes
Defined at:
Codex:

Fires once a revision has been saved.





Source

do_action( '_wp_put_post_revision', $revision_id, $post['post_parent'] );