do_action( ‘_wp_put_post_revision’, int $revision_id, int $post_id )

In this article

Fires once a revision has been saved.

Parameters

$revision_idint
Post revision ID.
$post_idint
Post ID.

Source

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

Changelog

VersionDescription
6.4.0The post_id parameter was added.
2.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.