wordpress / latest / hooks / xmlrpc_methods.html

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

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

Source

File: wp-includes/class-wp-xmlrpc-server.php. View all references

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

Used By

Used By Description

Changelog

Version Description
1.5.0 Introduced.

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