Filters the array of row meta for each plugin in the Plugins list table.
Parameters
$plugin_meta
string[]- An array of the plugin’s metadata, including the version, author, author URI, and plugin URI.
$plugin_file
string- Path to the plugin file relative to the plugins directory.
$plugin_data
array- An array of plugin data.
id
stringPlugin ID, e.g.w.org/plugins/[plugin-name]
.slug
stringPlugin slug.plugin
stringPlugin basename.new_version
stringNew plugin version.url
stringPlugin URL.package
stringPlugin update package URL.icons
string[]An array of plugin icon URLs.banners
string[]An array of plugin banner URLs.banners_rtl
string[]An array of plugin RTL banner URLs.requires
stringThe version of WordPress which the plugin requires.tested
stringThe version of WordPress the plugin is tested against.requires_php
stringThe version of PHP which the plugin requires.upgrade_notice
stringThe upgrade notice for the new plugin version.update-supported
boolWhether the plugin supports updates.Name
stringThe human-readable name of the plugin.PluginURI
stringPlugin URI.Version
stringPlugin version.Description
stringPlugin description.Author
stringPlugin author.AuthorURI
stringPlugin author URI.TextDomain
stringPlugin textdomain.DomainPath
stringRelative path to the plugin’s .mo file(s).Network
boolWhether the plugin can only be activated network-wide.RequiresWP
stringThe version of WordPress which the plugin requires.RequiresPHP
stringThe version of PHP which the plugin requires.UpdateURI
stringID of the plugin for update purposes, should be a URI.Title
stringThe human-readable title of the plugin.AuthorName
stringPlugin author’s name.update
boolWhether there’s an available update. Default null.
$status
string- 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'
.
Source
$plugin_meta = apply_filters( 'plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $status );
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
Example Migrated from Codex:
Adds new links to the metadata array of the plugin.