W3cubDocs

/WordPress

apply_filters( ‘install_plugin_overwrite_comparison’, string $table, array $current_plugin_data, array $new_plugin_data )

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

Parameters

$tablestring
The output table with Name, Version, Author, RequiresWP, and RequiresPHP info.
$current_plugin_dataarray
Array with current plugin data.
$new_plugin_dataarray
Array with uploaded plugin data.

Source

echo apply_filters( 'install_plugin_overwrite_comparison', $table, $current_plugin_data, $new_plugin_data );

Changelog

Version Description
5.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/install_plugin_overwrite_comparison