Allow plugins to hook into XML-RPC server.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6584b204a6
commit
087df40d4a
|
@ -105,6 +105,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||||
'demo.sayHello' => 'this:sayHello',
|
'demo.sayHello' => 'this:sayHello',
|
||||||
'demo.addTwoNumbers' => 'this:addTwoNumbers'
|
'demo.addTwoNumbers' => 'this:addTwoNumbers'
|
||||||
);
|
);
|
||||||
|
$this->methods = apply_filters('xmlrpc_methods', $this->methods);
|
||||||
$this->IXR_Server($this->methods);
|
$this->IXR_Server($this->methods);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue