monsterinsights_add_aggregate_data

Developer Alert:.

Description

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

Per the README, this is considered an internal hook and should not be used by other developers. This hook's behavior may be modified or the hook may be removed at any time, without warning.

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_add_aggregate_data', $this_client, $this_client_profile ); 
The following example is for adding a hook callback.
  1. // define the monsterinsights_add_aggregate_data callback 
  2. function action_monsterinsights_add_aggregate_data( $this_client, $this_client_profile ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'monsterinsights_add_aggregate_data', 'action_monsterinsights_add_aggregate_data', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'monsterinsights_add_aggregate_data', 'action_monsterinsights_add_aggregate_data', 10, 2 ); 

Defined (1)

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

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