_wp_post_revision_data


_wp_post_revision_data ( $post = array(), $autosave = false )

Access:
  • private
Parameters:
  • (array|WP_Post) $post Optional. A post array or a WP_Post object to be processed for insertion as a post revision. Default empty array.
  • (bool) $autosave Optional. Is the revision an autosave? Default false.
Returns:
  • (array) Post array ready to be inserted as a post revision.
Defined at:

Description

Returns a post array ready to be inserted into the posts table as a post revision.

Related Functions

_wp_post_revision_fields, wp_post_revision_title, _wp_put_post_revision, wp_is_post_revision, wp_get_post_revision

Top Google Results

User discussions

wpseek mobile