xmlrpc_methods filter-hook . WP 1.5.0
Filters the methods exposed by the XML-RPC server.
This filter can be used to add new methods, and remove built-in methods.
Usage
add_filter( 'xmlrpc_methods', 'filter_function_name_7365' ); function filter_function_name_7365( $methods ){ // filter... return $methods; }
- $methods(string[])
- An array of XML-RPC methods, keyed by their methodName.
Changelog
Since 1.5.0 | Introduced. |
Where the hook is called
xmlrpc_methods
wp-includes/class-wp-xmlrpc-server.php 166
$this->methods = apply_filters( 'xmlrpc_methods', $this->methods );