function public_xmlrpc_methods($methods) { if (array_key_exists('wp.getOptions', $methods)) { $methods['wp.getOptions'] = array($this, 'jetpack_getOptions'); } return $methods; }