wphooks.info - _wp_put_post_revision

_wp_put_post_revision

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/revision.php:
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
	}

	if ( $revision_id ) {
		/**
		 * Fires once a revision has been saved.
		 *
		 * @since 2.6.0
		 *
		 * @param int $revision_id Post revision ID.
		 */
		do_action( '_wp_put_post_revision', $revision_id );
	}

	return $revision_id;
}

/**
 * Gets a post revision.
 *
 * @since 2.6.0