plugin_install_action_links WordPress Action Hook

The plugin_install_action_links hook allows you to add custom links to the plugin installation page. This can be used to add links to the author's website, support forums, etc.

apply_filters( 'plugin_install_action_links', string[] $action_links, array $plugin ) #

Filters the install action links for a plugin.


Parameters

$action_links

(string[])An array of plugin action links. Defaults are links to Details and Install Now.

$plugin

(array)An array of plugin data. See plugins_api() for the list of possible values.


Top ↑

Source

File: wp-admin/includes/class-wp-plugin-install-list-table.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.