WordPress at a glance
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.

Usage

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

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

Список изменений

С версии 4.1.0 Введена.

Где вызывается хук

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

Где используется хук в ядре WordPress

Использование не найдено.