Filter hook 'install_theme_overwrite_comparison'
in WP Core File wp-admin/includes/class-theme-installer-skin.php at line 295
Description
Filters the compare table output for overwriting a theme package on upload.
Occurrences
Filename |
Line Number |
wp-admin/includes/class-theme-installer-skin.php |
295 |
Parameters
Type |
Name |
Description |
string |
$table |
The output table with Name, Version, Author, RequiresWP, and RequiresPHP info. |
WP_Theme |
$current_theme_data |
Active theme data. |
array |
$new_theme_data |
Array with uploaded theme data. |
PHP Doc
/**
* Filters the compare table output for overwriting a theme package on upload.
*
* @since 5.5.0
*
* @param string $table The output table with Name, Version, Author, RequiresWP, and RequiresPHP info.
* @param WP_Theme $current_theme_data Active theme data.
* @param array $new_theme_data Array with uploaded theme data.
*/