On this page
apply_filters( 'plugin_install_action_links', string[] $action_links, array $plugin )
Filters the install action links for a plugin.
Parameters
$action_linksstring[]-
An array of plugin action links.
Defaults are links to Details and Install Now. $pluginarray-
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.
slugstringThe plugin slug.per_pageintNumber of plugins per page. Default 24.pageintNumber of current page. Default 1.numberintNumber of tags or categories to be queried.searchstringA search term.tagstringTag to filter plugins.authorstringUsername of an plugin author to filter plugins.userstringUsername to query for their favorites.browsestringBrowse view:'popular','new','beta','recommended'.localestringLocale to provide context-sensitive results. Default is the value of get_locale() .installed_pluginsstringInstalled plugins to provide context-sensitive results.is_sslboolWhether links should be returned with https or not. Default false.fieldsarrayArray of fields which should or should not be returned.short_descriptionboolWhether to return the plugin short description. Default true.descriptionboolWhether to return the plugin full description. Default false.sectionsboolWhether to return the plugin readme sections: description, installation, FAQ, screenshots, other notes, and changelog. Default false.testedboolWhether to return the 'Compatible up to' value. Default true.requiresboolWhether to return the required WordPress version. Default true.requires_phpboolWhether to return the required PHP version. Default true.ratingboolWhether to return the rating in percent and total number of ratings.
Default true.ratingsboolWhether to return the number of rating for each star (1-5). Default true.downloadedboolWhether to return the download count. Default true.downloadlinkboolWhether to return the download link for the package. Default true.last_updatedboolWhether to return the date of the last update. Default true.addedboolWhether to return the date when the plugin was added to the wordpress.org repository. Default true.tagsboolWhether to return the assigned tags. Default true.compatibilityboolWhether to return the WordPress compatibility list. Default true.homepageboolWhether to return the plugin homepage link. Default true.versionsboolWhether to return the list of all available versions. Default false.donate_linkboolWhether to return the donation link. Default true.reviewsboolWhether to return the plugin reviews. Default false.bannersboolWhether to return the banner images links. Default false.iconsboolWhether to return the icon links. Default false.active_installsboolWhether to return the number of active installations. Default false.groupboolWhether to return the assigned group. Default false.contributorsboolWhether 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 );Related
Used By
Used By Description WP_Plugin_Install_List_Table::display_rows() wp-admin/includes/class-wp-plugin-install-list-table.php Changelog
Version Description 2.7.0 Introduced.
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/plugin_install_action_links