stats_xmlrpc_methods

Stats xmlrpc_methods function.

Description

stats_xmlrpc_methods( $methods ); 

Parameters (1)

0. $methods
The methods.

Usage

  1. if ( !function_exists( 'stats_xmlrpc_methods' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/stats.php'; 
  3.  
  4. // The methods. 
  5. $methods = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = stats_xmlrpc_methods($methods); 
  9.  

Defined (1)

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

/modules/stats.php  
  1. function stats_xmlrpc_methods( $methods ) { 
  2. $my_methods = array( 
  3. 'jetpack.getBlog' => 'stats_get_blog',  
  4. ); 
  5.  
  6. return array_merge( $methods, $my_methods );