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

Determine if 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_print_revision_templates

Top Google Results

User discussions

wpseek mobile