pmpro_getPMProCaps

Get array of PMPro Capabilities.

Description

pmpro_getPMProCaps(); 

Usage

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

Defined (1)

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

/includes/adminpages.php  
  1. function pmpro_getPMProCaps() 
  2. $pmpro_caps = array( 
  3. //pmpro_memberships_menu //this controls viewing the menu itself 
  4. ); 
  5.  
  6. return $pmpro_caps;