Summery Summery
Determines if the specified post is a revision.
Syntax Syntax
Parameters Parameters
- $post
-
(Required) Post ID or post object.
Return Return
(int|false) ID of revision's parent on success, false if not a revision.
Source Source
File: wp-includes/revision.php
return false; } return get_post( $autosave[0] ); } /** * Determines if the specified post is a revision.
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |