wp_xmlrpc_server_class WordPress Filter Hook
The wp_xmlrpc_server_class hook allows a user to change the class used for the XML-RPC server. By default, the WordPress XML-RPC server uses the wp_xmlrpc_server class, but this hook can be used to change it to a different class. This can be useful if you need to extend the default XML-RPC server functionality or if you want to use a different XML-RPC server implementation.
apply_filters( 'wp_xmlrpc_server_class', string $class ) #
Filters the class used for handling XML-RPC requests.
Contents
Parameters
- $class
(string)The name of the XML-RPC server class.
Source
File: xmlrpc.php
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |