On this page
apply_filters( 'plugin_row_meta', string[] $plugin_meta, string $plugin_file, array $plugin_data, string $status )
Filters the array of row meta for each plugin in the Plugins list table.
Parameters
$plugin_metastring[]-
An array of the plugin's metadata, including the version, author, author URI, and plugin URI.
$plugin_filestring-
Path to the plugin file relative to the plugins directory.
$plugin_dataarray-
An array of plugin data.
idstringPlugin ID, e.g.w.org/plugins/[plugin-name].slugstringPlugin slug.pluginstringPlugin basename.new_versionstringNew plugin version.urlstringPlugin URL.packagestringPlugin update package URL.iconsstring[]An array of plugin icon URLs.bannersstring[]An array of plugin banner URLs.banners_rtlstring[]An array of plugin RTL banner URLs.requiresstringThe version of WordPress which the plugin requires.testedstringThe version of WordPress the plugin is tested against.requires_phpstringThe version of PHP which the plugin requires.upgrade_noticestringThe upgrade notice for the new plugin version.update-supportedboolWhether the plugin supports updates.NamestringThe human-readable name of the plugin.PluginURIstringPlugin URI.VersionstringPlugin version.DescriptionstringPlugin description.AuthorstringPlugin author.AuthorURIstringPlugin author URI.TextDomainstringPlugin textdomain.DomainPathstringRelative path to the plugin's .mo file(s).NetworkboolWhether the plugin can only be activated network-wide.RequiresWPstringThe version of WordPress which the plugin requires.RequiresPHPstringThe version of PHP which the plugin requires.UpdateURIstringID of the plugin for update purposes, should be a URI.TitlestringThe human-readable title of the plugin.AuthorNamestringPlugin author's name.updateboolWhether there's an available update. Default null.
$statusstring-
Status filter currently applied to the plugin list. Possible values are:
'all','active','inactive','recently_activated','upgrade','mustuse','dropins','search','paused','auto-update-enabled','auto-update-disabled'.
More Information
The plugin_row_meta filter hook is used to add additional links below each plugin on the Plugins page.
Source
File: wp-admin/includes/class-wp-plugins-list-table.php. View all references
$plugin_meta = apply_filters( 'plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $status );
Related
Used By
| Used By | Description |
|---|---|
| WP_Plugins_List_Table::single_row() wp-admin/includes/class-wp-plugins-list-table.php |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/plugin_row_meta