Private Access Private Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Summery Summery

Gets the post revision version.

Syntax Syntax

_wp_get_post_revision_version( WP_Post $revision )

Parameters Parameters


(WP_Post) (Required)

Return Return


Source Source

File: wp-includes/revision.php

	$thumbnail_id = intval( $_REQUEST['_thumbnail_id'] );
	if ( $thumbnail_id <= 0 ) {
		return '';

	return strval( $thumbnail_id );

 * Gets the post revision version.
 * @since 3.6.0
 * @access private


Changelog Changelog

Version Description
3.6.0 Introduced.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.