plugin_row_meta

Filters the array of row meta for each plugin in the Plugins list table.

Description

apply_filters( 'plugin_row_meta', (unknown) $plugin_meta, (unknown) $plugin_file, (unknown) $plugin_data, (unknown) $status ); 

Parameters (4)

0. $plugin_meta (unknown)
The plugin meta.
1. $plugin_file (unknown)
The plugin file.
2. $plugin_data (unknown)
The plugin data.
3. $status (unknown)
The status.

Usage

To run the hook, copy the example below.
  1. $plugin_meta = apply_filters( 'plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $status ); 
  2.  
  3. if ( !empty( $plugin_meta ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the plugin_row_meta callback 
  2. function filter_plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) { 
  3. // make filter magic happen here... 
  4. return $plugin_meta
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'plugin_row_meta', 'filter_plugin_row_meta', 10, 4 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'plugin_row_meta', 'filter_plugin_row_meta', 10, 4 ); 

Defined (1)

The filter is defined in the following location(s).

/adminpages/addons.php  
  1. $plugin_meta = apply_filters( 'plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $status);