WordPress at a glance
filter is not described

install_plugin_overwrite_comparison filter-hook . WP 5.5.0

Filters the compare table output for overwriting a plugin package on upload.

Usage

add_filter( 'install_plugin_overwrite_comparison', 'filter_function_name_6823', 10, 3 );
function filter_function_name_6823( $table, $current_plugin_data, $new_plugin_data ){
	// filter...

	return $table;
}
$table(string)
The output table with Name, Version, Author, RequiresWP, and RequiresPHP info.
$current_plugin_data(array)
Array with current plugin data.
$new_plugin_data(array)
Array with uploaded plugin data.

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

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

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

Plugin_Installer_Skin::do_overwrite()
install_plugin_overwrite_comparison
wp-admin/includes/class-plugin-installer-skin.php 254
echo apply_filters( 'install_plugin_overwrite_comparison', $table, $current_plugin_data, $new_plugin_data );

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

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