XML-RPC Server Help
Now I am trying to create an xml-rpc server using CodeIgniter Framework.
<?php
$this->load->library('xmlrpc');
$this->load->library('xmlrpcs');
$config['functions']['weblogUpdates.ping'] = array('function' => 'weblogUpdates.ping');
$config['functions']['ping'] = array('function' => 'weblogUpdates.ping');
$config['functions']['weblogUpdates'] = array('function' => 'weblogUpdates.ping');
$config['object'] = $this;
$this->xmlrpcs->serve();
?>
But the problem I have is when Wordpress tries to ping my file. I can't figure out what I should have as a function in $ config ['functions'] [HERE];
Anyone have a solution?
0
source to share