plugin_row_meta filter-hook . WP 2.8.0
Filters the array of row meta for each plugin in the Plugins list table.
Usage
add_filter( 'plugin_row_meta', 'filter_function_name_5996', 10, 4 ); function filter_function_name_5996( $plugin_meta, $plugin_file, $plugin_data, $status ){ // filter... return $plugin_meta; }
- $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.
- $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'.
Changelog
Since 2.8.0 | Introduced. |
Where the hook is called
plugin_row_meta
wp-admin/includes/class-wp-plugins-list-table.php 1070
$plugin_meta = apply_filters( 'plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $status );