_wp_post_revision_fields


_wp_post_revision_fields ( $post = array(), $deprecated = false )

Access:
  • private
Parameters:
  • (array|WP_Post) $post Optional. A post array or a WP_Post object being processed for insertion as a post revision. Default empty array.
  • (bool) $deprecated Not used.
Returns:
  • (array) Array of fields that can be versioned.
Defined at:
Change Log:
  • 4: .
  • 4: .

Description

Determines which fields of posts are to be saved in revisions.

Related Functions

_wp_post_revision_data, wp_post_revision_title, _wp_put_post_revision, wp_get_post_revisions, _wp_get_post_revision_version

Top Google Results

User discussions

wpseek mobile