Action hook '_wp_put_post_revision'

in WP Core File wp-includes/revision.php at line 395

Description

Fires once a revision has been saved.

Occurrences

Filename Line Number
wp-includes/revision.php 395

Parameters

Type Name Description
int $revision_id Post revision ID.
int $post_id Post ID.

PHP Doc

/**
		 * Fires once a revision has been saved.
		 *
		 * @since 2.6.0
		 * @since 6.4.0 The post_id parameter was added.
		 *
		 * @param int $revision_id Post revision ID.
		 * @param int $post_id     Post ID.
		 */