install_theme_overwrite_actions WordPress Action Hook
The install_theme_overwrite_actions hook is used to overwrite the default WordPress theme installation actions. This hook is useful for plugin and theme developers who need to customize the default WordPress theme installation process.
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_actions
(string[])Array of theme action links.
- $api
(object)Object containing WordPress.org API theme data.
- $new_theme_data
(array)Array with uploaded theme data.
Source
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |