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.


Parameters

$class

(string)The name of the XML-RPC server class.


Top ↑

Source

File: xmlrpc.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.