do_action( ‘xmlrpc_call’, string $name, array|string $args, wp_xmlrpc_server $server )

In this article

Fires after the XML-RPC user has been authenticated but before the rest of the method logic begins.

Description

All built-in XML-RPC methods use the action xmlrpc_call, with a parameter equal to the method’s name, e.g., wp.getUsersBlogs, wp.newPost, etc.

Parameters

$namestring
The method name.
$argsarray|string
The escaped arguments passed to the method.
$serverwp_xmlrpc_server
The XML-RPC server instance.

Source

do_action( 'xmlrpc_call', 'wp.getUsersBlogs', $args, $this );

Changelog

VersionDescription
5.7.0Added the $args and $server parameters.
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.