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:

Description

Determines whether revisions are enabled for a given post.

Related Functions

wp_revisions_to_keep, post_revisions_meta_box, _wp_post_revision_fields, wp_post_revision_title, wp_post_revision_meta_keys

Top Google Results

User discussions

wpseek mobile