apply_filters( 'plugin_row_meta', string[] $plugin_meta, string $plugin_file, array $plugin_data, string $status )
- Since
- 2.8.0
Filters the array of row meta for each plugin in the Plugins list table.
Compatibility
- WordPress
- since 2.8.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
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.
@type string $id Plugin ID, e.g.w.org/plugins/[plugin-name].
@type string $slug Plugin slug.
@type string $plugin Plugin basename.
@type string $new_version New plugin version.
@type string $url Plugin URL.
@type string $package Plugin update package URL.
@type string[] $icons An array of plugin icon URLs.
@type string[] $banners An array of plugin banner URLs.
@type string[] $banners_rtl An array of plugin RTL banner URLs.
@type string $requires The version of WordPress which the plugin requires.
@type string $tested The version of WordPress the plugin is tested against.
@type string $requires_php The version of PHP which the plugin requires.
@type string $upgrade_notice The upgrade notice for the new plugin version.
@type bool $update-supported Whether the plugin supports updates.
@type string $Name The human-readable name of the plugin.
@type string $PluginURI Plugin URI.
@type string $Version Plugin version.
@type string $Description Plugin description.
@type string $Author Plugin author.
@type string $AuthorURI Plugin author URI.
@type string $TextDomain Plugin textdomain.
@type string $DomainPath Relative path to the plugin's .mo file(s).
@type bool $Network Whether the plugin can only be activated network-wide.
@type string $RequiresWP The version of WordPress which the plugin requires.
@type string $RequiresPHP The version of PHP which the plugin requires.
@type string $UpdateURI ID of the plugin for update purposes, should be a URI.
@type string $Title The human-readable title of the plugin.
@type string $AuthorName Plugin author's name.
@type bool $update Whether there's an available update. Default null.
}$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'.
Where this hook fires · 1
wp-admin/includes/class-wp-plugins-list-table.php:1276WP_Plugins_List_Table::single_row()
Source code
* } * @param string $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'. */ $plugin_meta = apply_filters( 'plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $status ); echo implode( ' | ', $plugin_meta ); echo '</div>'; if ( $has_dependents ) {Changelog
Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.0.4 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.