Advertisement

Summery Summery

Filters the compare table output for overwriting a theme package on upload.

Syntax Syntax

apply_filters( 'install_theme_overwrite_comparison', string $table, array $current_theme_data, array $new_theme_data )

Parameters 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 Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.