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.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.