Summery Summery
Determine if revisions are enabled for a given post.
Syntax Syntax
Parameters Parameters
- $post
-
(Required) The post object.
Return Return
(bool) True if number of revisions to keep isn't zero, false otherwise.
Source Source
File: wp-includes/revision.php
if ( ! $revisions ) { return array(); }
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |