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_meta
-
An array of the plugin's metadata, including the version, author, author URI, and plugin URI.
- $plugin_file
-
Path to the plugin file relative to the plugins directory.
- $plugin_data
-
An array of plugin data.<br>
- 'id'
(string) Plugin ID, e.g.w.org/plugins/[plugin-name]
.<br> - 'slug'
(string) Plugin slug.<br> - 'plugin'
(string) Plugin basename.<br> - 'new_version'
(string) New plugin version.<br> - 'url'
(string) Plugin URL.<br> - 'package'
(string) Plugin update package URL.<br> - 'icons'
(string[]) An array of plugin icon URLs.<br> - 'banners'
(string[]) An array of plugin banner URLs.<br> - 'banners_rtl'
(string[]) An array of plugin RTL banner URLs.<br> - 'requires'
(string) The version of WordPress which the plugin requires.<br> - 'tested'
(string) The version of WordPress the plugin is tested against.<br> - 'requires_php'
(string) The version of PHP which the plugin requires.<br> - 'upgrade_notice'
(string) The upgrade notice for the new plugin version.<br> - 'update-supported'
(bool) Whether the plugin supports updates.<br> - 'Name'
(string) The human-readable name of the plugin.<br> - 'PluginURI'
(string) Plugin URI.<br> - 'Version'
(string) Plugin version.<br> - 'Description'
(string) Plugin description.<br> - 'Author'
(string) Plugin author.<br> - 'AuthorURI'
(string) Plugin author URI.<br> - 'TextDomain'
(string) Plugin textdomain.<br> - 'DomainPath'
(string) Relative path to the plugin's .mo file(s).<br> - 'Network'
(bool) Whether the plugin can only be activated network-wide.<br> - 'RequiresWP'
(string) The version of WordPress which the plugin requires.<br> - 'RequiresPHP'
(string) The version of PHP which the plugin requires.<br> - 'UpdateURI'
(string) ID of the plugin for update purposes, should be a URI.<br> - 'Title'
(string) The human-readable title of the plugin.<br> - 'AuthorName'
(string) Plugin author's name.<br> - 'update'
(bool) Whether there's an available update. Default null.<br>
- 'id'
- $status
-
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
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |