monsterinsights_get_reports

Callback for getting all of the reports tabs for MonsterInsights.

Description

(array) monsterinsights_get_reports(); 

Returns (array)

Array of tab information.


Usage

  1. if ( !function_exists( 'monsterinsights_get_reports' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-analytics-for-wordpress-by-monsterinsights/includes/admin/pages/reports.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = monsterinsights_get_reports(); 
  7.  

Defined (1)

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

/includes/admin/pages/reports.php  
  1. function monsterinsights_get_reports() { 
  2. /**  
  3. * Developer Alert: 
  4. * Per the README, this is considered an internal hook and should 
  5. * not be used by other developers. This hook's behavior may be modified 
  6. * or the hook may be removed at any time, without warning. 
  7. */ 
  8. $reports = apply_filters( 'monsterinsights_get_reports', array() ); 
  9. return $reports;