IXR_Server::setCapabilities() WordPress Method
The IXR_Server::setCapabilities() method is used to set the capabilities of the XML-RPC server. The capabilities are specified as an array of strings, each of which corresponds to a capability name.
IXR_Server::setCapabilities() #
Source
File: wp-includes/IXR/class-IXR-server.php
function setCapabilities()
{
// Initialises capabilities array
$this->capabilities = array(
'xmlrpc' => array(
'specUrl' => 'http://www.xmlrpc.com/spec',
'specVersion' => 1
),
'faults_interop' => array(
'specUrl' => 'http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php',
'specVersion' => 20010516
),
'system.multicall' => array(
'specUrl' => 'http://www.xmlrpc.com/discuss/msgReader$1208',
'specVersion' => 1
),
);
}
Expand full source codeCollapse full source codeView on TracView on GitHub