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
Parameters Parameters
- $revision
-
(Required)
Return Return
(int|false)
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
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |