W3cubDocs

/WordPress

apply_filters( ‘install_theme_overwrite_actions’, string[] $install_actions, object $api, array $new_theme_data )

Filters the list of action links available following a single theme installation failure when overwriting is allowed.

Parameters

$install_actionsstring[]
Array of theme action links.
$apiobject
Object containing WordPress.org API theme data.
$new_theme_dataarray
Array with uploaded theme data.

Source

$install_actions = apply_filters( 'install_theme_overwrite_actions', $install_actions, $this->api, $new_theme_data );

Changelog

Version Description
5.5.0 Introduced.

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