install_plugin_overwrite_actions WordPress Action Hook
This hook is called when a plugin is installed and there are already plugin files with the same name. The new plugin's files will overwrite the old ones.
apply_filters( 'install_plugin_overwrite_actions', string[] $install_actions , object $api , array $new_plugin_data ) #
Filters the list of action links available following a single plugin installation failure when overwriting is allowed.
Parameters
- $install_actions
(string[])Array of plugin action links.
- $api
(object)Object containing WordPress.org API plugin data.
- $new_plugin_data
(array)Array with uploaded plugin data.
Source
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |