wp_xmlrpc_server::mt_supportedMethods(): array

In this article

Retrieves an array of methods supported by this server.

Return

array

Source

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 );
}

Hooks

do_action( ‘xmlrpc_call’, string $name, array|string $args, wp_xmlrpc_server $server )

Fires after the XML-RPC user has been authenticated but before the rest of the method logic begins.

Changelog

VersionDescription
1.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.