wp_get_revision_ui_diff


wp_get_revision_ui_diff ( $post, $compare_from, $compare_to )

Parameters:
  • (object|int) $post The post object. Also accepts a post ID.
  • (int) $compare_from The revision ID to compare from.
  • (int) $compare_to The revision ID to come to.
Returns:
  • (array|bool) Associative array of a post's revisioned fields and their diffs. Or, false on failure.
Defined at:

Description

Get the revision UI diff.

Related Functions

wp_ajax_get_revision_diffs, wp_get_post_revision, wp_get_post_revisions, wp_post_revision_title, _wp_post_revision_data

Top Google Results

User discussions

wpseek mobile