install_theme_overwrite_comparison
最后更新于:2021-11-27 01:44:06
apply_filters( ‘install_theme_overwrite_comparison’, string $table, array $current_theme_data, array $new_theme_data )
Filters the compare table output for overwriting a theme package on upload.
参数
- $table
-
(string)
The output table with Name, Version, Author, RequiresGC, and RequiresPHP info. - $current_theme_data
-
(array)
Array with current theme data. - $new_theme_data
-
(array)
Array with uploaded theme data.
源文件
文件: gc-admin/includes/class-theme-installer-skin.php