xmlrpc_methods WordPress Filter Hook
The xmlrpc_methods hook allows you to add custom XML-RPC methods to your WordPress site. This hook is called when the XML-RPC server is initialized, and it gives you an opportunity to add your own methods to the server.
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
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |