monsterinsights_settings_save_<type>

The Google Analytics for WordPress by MonsterInsights monsterinsights settings save type hook.

Description

do_action( 'monsterinsights_settings_save_<type>', (unknown) $value, (unknown) $id, (unknown) $args, (unknown) $previous_value ); 

Parameters (4)

0. $value (unknown)
The value.
1. $id (unknown)
The id.
2. $args (unknown)
The args.
3. $previous_value (unknown)
The previous value.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'monsterinsights_settings_save_{$type}', $value, $id, $args, $previous_value ); 
The following example is for adding a hook callback.
  1. // define the monsterinsights_settings_save_<type> callback 
  2. function action_monsterinsights_settings_save_type( $value, $id, $args, $previous_value ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( "monsterinsights_settings_save_{$type}", 'action_monsterinsights_settings_save_type', 10, 4 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( "monsterinsights_settings_save_{$type}", 'action_monsterinsights_settings_save_type', 10, 4 ); 

Defined (1)

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

/includes/admin/settings/settings-api.php  
  1. do_action( 'monsterinsights_settings_save_' . $args['type'], $value, $id, $args, $previous_value );