xmlrpc_action
xmlrpc_action
Appears in: akismet.5.3.3, akismet.5.3.5, wordpress-6.6, wordpress-6.6.1, wordpress-6.6.2, wordpress-6.7, wordpress-6.7.1
Hook Type: action
Displaying hooks found in version: wordpress-6.7.1do_action('xmlrpc_action') is found 1 times:
- /wp-content/plugins/akismet/class.akismet.php line 1798
* 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; }