tgmpa_update_bulk_plugins_complete_actions

Filter the list of action links available following bulk plugin installs/updates.

Description

apply_filters( 'tgmpa_update_bulk_plugins_complete_actions', (array) $update_actions, (array) $this_plugin_info ); 

Parameters (2)

0. $update_actions (array)
Array of plugin action links.
1. $this_plugin_info (array)
Array of information for the last-handled plugin.

Usage

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

Defined (1)

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

/includes/class-tgm-plugin-activation.php  
  1. $update_actions = apply_filters( 'tgmpa_update_bulk_plugins_complete_actions', $update_actions, $this->plugin_info );