monsterinsights_delete_aggregate_data

The Google Analytics for WordPress by MonsterInsights monsterinsights delete aggregate data hook.

Description

do_action( 'monsterinsights_delete_aggregate_data', (unknown) $this_client, (unknown) $this_client_profile ); 

Parameters (2)

0. $this_client (unknown)
The this client.
1. $this_client_profile (unknown)
The this client profile.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'monsterinsights_delete_aggregate_data', $this_client, $this_client_profile ); 
The following example is for adding a hook callback.
  1. // define the monsterinsights_delete_aggregate_data callback 
  2. function action_monsterinsights_delete_aggregate_data( $this_client, $this_client_profile ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'monsterinsights_delete_aggregate_data', 'action_monsterinsights_delete_aggregate_data', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'monsterinsights_delete_aggregate_data', 'action_monsterinsights_delete_aggregate_data', 10, 2 ); 

Defined (1)

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

/includes/admin/reporting.php  
  1. do_action( 'monsterinsights_delete_aggregate_data', $this->client, $this->client->profile );