install_plugin_overwrite_comparison
最后更新于:2021-11-27 01:21:07
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.
参数
- $table
-
(string)
The output table with Name, Version, Author, RequiresGC, and RequiresPHP info. - $current_plugin_data
-
(array)
Array with current plugin data. - $new_plugin_data
-
(array)
Array with uploaded plugin data.
源文件
文件: gc-admin/includes/class-plugin-installer-skin.php