WordPress at Your Fingertips
filter is not described

wp_get_revision_ui_diff filter-hook . WP 4.1.0

Filters the fields displayed in the post revision diff UI.


add_filter( 'wp_get_revision_ui_diff', 'filter_function_name_7971', 10, 3 );
function filter_function_name_7971( $return, $compare_from, $compare_to ){
	// filter...

	return $return;
Array of revision UI fields. Each item is an array of id, name, and diff.
The revision post to compare from.
The revision post to compare to.

Where the hook is called

wp-admin/includes/revision.php 159
return apply_filters( 'wp_get_revision_ui_diff', $return, $compare_from, $compare_to );

Where in WP core the hook is used WordPress

Usage not found.