W3cubDocs

/WordPress

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.

Parameters

$table

(string) The output table with Name, Version, Author, RequiresWP, and RequiresPHP info.

$current_theme_data

(array) Array with current theme data.

$new_theme_data

(array) Array with uploaded theme data.

Source

File: wp-admin/includes/class-theme-installer-skin.php

View on Trac

Changelog

Version Description
5.5.0 Introduced.

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