On this page
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
File: wp-admin/includes/class-theme-installer-skin.php. View all references
$install_actions = apply_filters( 'install_theme_overwrite_actions', $install_actions, $this->api, $new_theme_data );
Related
Used By
| Used By | Description |
|---|---|
| Theme_Installer_Skin::do_overwrite() wp-admin/includes/class-theme-installer-skin.php | Check if the theme can be overwritten and output the HTML for overwriting a theme on upload. |
Changelog
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/install_theme_overwrite_actions