wp_get_revision_ui_diff


wp_get_revision_ui_diff ( $post, $compare_from, $compare_to )

Parameters:
  • (WP_Post|int) post The post object or post ID.
  • (int) compare_from The revision ID to compare from.
  • (int) compare_to The revision ID to come to.
Returns:
  • (array|false) 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_revisions_url, wp_get_post_revision, wp_get_post_revisions, _wp_post_revision_data

Top Google Results

User discussions

wpseek mobile