Filter hook 'wp_get_revision_ui_diff'

in WP Core File wp-admin/includes/revision.php at line 163

Description

Filters the fields displayed in the post revision diff UI.

Occurrences

Filename Line Number
wp-admin/includes/revision.php 163

Parameters

Type Name Description
array[] $return Array of revision UI fields. Each item is an array of id, name, and diff.
WP_Post $compare_from The revision post to compare from.
WP_Post $compare_to The revision post to compare to.

PHP Doc

/**
	 * Filters the fields displayed in the post revision diff UI.
	 *
	 * @since 4.1.0
	 *
	 * @param array[] $return       Array of revision UI fields. Each item is an array of id, name, and diff.
	 * @param WP_Post $compare_from The revision post to compare from.
	 * @param WP_Post $compare_to   The revision post to compare to.
	 */