wppaste
WordPress

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.
}
  • $idstring

    Plugin ID, e.g. w.org/plugins/[plugin-name].
  • $slugstring

    Plugin slug.
  • $pluginstring

    Plugin basename.
  • $new_versionstring

    New plugin version.
  • $urlstring

    Plugin URL.
  • $packagestring

    Plugin 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.
  • $requiresstring

    The version of WordPress which the plugin requires.
  • $testedstring

    The version of WordPress the plugin is tested against.
  • $requires_phpstring

    The version of PHP which the plugin requires.
  • $upgrade_noticestring

    The upgrade notice for the new plugin version.
  • $update-supportedbool

    Whether the plugin supports updates.
  • $Namestring

    The human-readable name of the plugin.
  • $PluginURIstring

    Plugin URI.
  • $Versionstring

    Plugin version.
  • $Descriptionstring

    Plugin description.
  • $Authorstring

    Plugin author.
  • $AuthorURIstring

    Plugin author URI.
  • $TextDomainstring

    Plugin textdomain.
  • $DomainPathstring

    Relative path to the plugin's .mo file(s).
  • $Networkbool

    Whether the plugin can only be activated network-wide.
  • $RequiresWPstring

    The version of WordPress which the plugin requires.
  • $RequiresPHPstring

    The version of PHP which the plugin requires.
  • $UpdateURIstring

    ID of the plugin for update purposes, should be a URI.
  • $Titlestring

    The human-readable title of the plugin.
  • $AuthorNamestring

    Plugin author's name.
  • $updatebool

    Whether 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:1259WP_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.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.9.7 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.