install_plugin_complete_actions WordPress Action Hook

This hook is called once a plugin has been successfully installed. It is passed the plugin id and the plugin data.

apply_filters( 'install_plugin_complete_actions', string[] $install_actions, object $api, string $plugin_file ) #

Filters the list of action links available following a single plugin installation.


Parameters

$install_actions

(string[])Array of plugin action links.

$api

(object)Object containing WordPress.org API plugin data. Empty for non-API installs, such as when a plugin is installed via upload.

$plugin_file

(string)Path to the plugin file relative to the plugins directory.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.7.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.