W3cubDocs

/WordPress

apply_filters( ‘xmlrpc_methods’, string[] $methods )

Filters the methods exposed by the XML-RPC server.

Description

This filter can be used to add new methods, and remove built-in methods.

Parameters

$methodsstring[]
An array of XML-RPC methods, keyed by their methodName.

Source

$this->methods = apply_filters( 'xmlrpc_methods', $this->methods );

Changelog

Version Description
1.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/xmlrpc_methods