tgmpa_after_plugin_row_<slug>

Fires after each specific row in the TGMPA Plugins list table.

Description

do_action( 'tgmpa_after_plugin_row_<slug>', (unknown) $item_slug, (unknown) $item, (unknown) $this_view_context ); 

The dynamic portion(s) of the hook name refer to the slug for the plugin.

Parameters (3)

0. $item_slug (unknown)
The item slug.
1. $item (unknown)
The item.
2. $this_view_context (unknown)
The this view context.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'tgmpa_after_plugin_row_{$slug}', $item_slug, $item, $this_view_context ); 
The following example is for adding a hook callback.
  1. // define the tgmpa_after_plugin_row_<slug> callback 
  2. function action_tgmpa_after_plugin_row_slug( $item_slug, $item, $this_view_context ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( "tgmpa_after_plugin_row_{$slug}", 'action_tgmpa_after_plugin_row_slug', 10, 3 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( "tgmpa_after_plugin_row_{$slug}", 'action_tgmpa_after_plugin_row_slug', 10, 3 ); 

Defined (1)

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

/class-tgm-plugin-activation.php  
  1. do_action( "tgmpa_after_plugin_row_{$item['slug']}", $item['slug'], $item, $this->view_context );