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

In this article

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

VersionDescription
5.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.