pmpro_report_memberships_init

The Paid Memberships Pro pmpro report memberships init function.

Description

pmpro_report_memberships_init(); 

Usage

  1. if ( !function_exists( 'pmpro_report_memberships_init' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'paid-memberships-pro/adminpages/reports/memberships.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = pmpro_report_memberships_init(); 
  7.  

Defined (1)

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

/adminpages/reports/memberships.php  
  1. function pmpro_report_memberships_init() { 
  2. if(is_admin() && isset($_REQUEST['report']) && $_REQUEST['report'] == "memberships" && isset($_REQUEST['page']) && $_REQUEST['page'] == "pmpro-reports") 
  3. wp_enqueue_script("jsapi", "https://www.google.com/jsapi");