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.
Source
File: wp-admin/includes/class-wp-plugin-install-list-table.php
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |