pmpro_xmlrpc_methods

The Paid Memberships Pro pmpro xmlrpc methods function.

Description

pmpro_xmlrpc_methods( $methods ); 

Parameters (1)

0. $methods
The methods.

Usage

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

Defined (1)

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

/includes/xmlrpc.php  
  1. function pmpro_xmlrpc_methods($methods) 
  2. $methods['pmpro.getMembershipLevelForUser'] = 'pmpro_xmlrpc_getMembershipLevelForUser'; 
  3. $methods['pmpro.hasMembershipAccess'] = 'pmpro_xmlrpc_hasMembershipAccess'; 
  4. return $methods;