xmlrpc_action
xmlrpc_action
Appears in: akismet.5.3.3, akismet.5.3.5, akismet.5.3.7, wordpress-6.6, wordpress-6.6.1, wordpress-6.6.2, wordpress-6.7, wordpress-6.7.1, wordpress-6.7.2, wordpress-6.8
Hook Type: action
Displaying hooks found in version: wordpress-6.8do_action('xmlrpc_action') is found 1 times:
- /wp-content/plugins/akismet/class.akismet.php line 180117971798179918001801180218031804180518061807
* Check pingbacks
for
spam before they're saved to the DB.
*
* @param string
$method
The XML-RPC method that was called.
* @param
array
$args
This
and
the
$server
arg are marked
as
optional since plugins might still be
* calling do_action(
'xmlrpc_action'
, [...] ) without the arguments that were added in WP 5.7.
* @param wp_xmlrpc_server
$server
*/
public
static
function
pre_check_pingback(
$method
,
$args
=
array
(),
$server
= null ) {
if
(
$method
!==
'pingback.ping'
) {
return
;
}