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.
More Arguments from plugins_api( ... $args )
Array or object of arguments to serialize for the Plugin Info API.
slug
stringThe plugin slug.per_page
intNumber of plugins per page. Default 24.page
intNumber of current page. Default 1.number
intNumber of tags or categories to be queried.search
stringA search term.tag
stringTag to filter plugins.author
stringUsername of an plugin author to filter plugins.user
stringUsername to query for their favorites.browse
stringBrowse view:'popular'
,'new'
,'beta'
,'recommended'
.locale
stringLocale to provide context-sensitive results. Default is the value of get_locale() .installed_plugins
stringInstalled plugins to provide context-sensitive results.is_ssl
boolWhether links should be returned with https or not. Default false.fields
arrayArray of fields which should or should not be returned.short_description
boolWhether to return the plugin short description. Default true.description
boolWhether to return the plugin full description. Default false.sections
boolWhether to return the plugin readme sections: description, installation, FAQ, screenshots, other notes, and changelog. Default false.tested
boolWhether to return the 'Compatible up to' value. Default true.requires
boolWhether to return the required WordPress version. Default true.requires_php
boolWhether to return the required PHP version. Default true.rating
boolWhether to return the rating in percent and total number of ratings.
Default true.ratings
boolWhether to return the number of rating for each star (1-5). Default true.downloaded
boolWhether to return the download count. Default true.downloadlink
boolWhether to return the download link for the package. Default true.last_updated
boolWhether to return the date of the last update. Default true.added
boolWhether to return the date when the plugin was added to the wordpress.org repository. Default true.tags
boolWhether to return the assigned tags. Default true.compatibility
boolWhether to return the WordPress compatibility list. Default true.homepage
boolWhether to return the plugin homepage link. Default true.versions
boolWhether to return the list of all available versions. Default false.donate_link
boolWhether to return the donation link. Default true.reviews
boolWhether to return the plugin reviews. Default false.banners
boolWhether to return the banner images links. Default false.icons
boolWhether to return the icon links. Default false.active_installs
boolWhether to return the number of active installations. Default false.group
boolWhether to return the assigned group. Default false.contributors
boolWhether to return the list of contributors. Default false.
Source
File:
wp-admin/includes/class-wp-plugin-install-list-table.php
. View all references$action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin );
Changelog
Changelog Version Description 2.7.0 Introduced.
User Contributed Notes