wp_xmlrpc_server::mt_supportedMethods()publicWP 1.5.0

Retrieve an array of methods supported by this server.

Метод класса: wp_xmlrpc_server{}

Hooks from the method

Return

Array.

Usage

$wp_xmlrpc_server = new wp_xmlrpc_server();
$wp_xmlrpc_server->mt_supportedMethods();

Changelog

Since 1.5.0 Introduced.

Code of wp_xmlrpc_server::mt_supportedMethods() WP 6.1.1

public function mt_supportedMethods() {
	/** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
	do_action( 'xmlrpc_call', 'mt.supportedMethods', array(), $this );

	return array_keys( $this->methods );
}