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

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.


Top ↑

Parameters

$name string
The method name.
$args array|string
The escaped arguments passed to the method.
$server wp_xmlrpc_server
The XML-RPC server instance.

Top ↑

Source

File: wp-includes/class-wp-xmlrpc-server.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
5.7.0 Added the $args and $server parameters.
2.5.0 Introduced.

Top ↑

User Contributed Notes

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