xmlrpc_action

xmlrpc_action

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_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;
    		}