wp_revisions_enabled
wp_revisions_enabled ( $post )
Parameters:- (WP_Post) post The post object.
Returns:- (bool) True if number of revisions to keep isn't zero, false otherwise.
Defined at: - Introduced in WordPress: 3.6.0
- Deprecated in WordPress: —
Description
Determines whether revisions are enabled for a given post.