WordPress at a glance
function is not described

xmlrpc_pingback_error() WP 3.5.1

Default filter attached to xmlrpc_pingback_error.

Returns a generic pingback error code unless the error code is 48, which reports that the pingback is already registered.

No Hooks.

Return

IXR_Error. Nothing.

Usage

xmlrpc_pingback_error( $ixr_error );
$ixr_error(IXR_Error) (required)
-

Changelog

Since 3.5.1 Introduced.

Code of xmlrpc_pingback_error() WP 5.7.2

<?php
function xmlrpc_pingback_error( $ixr_error ) {
	if ( 48 === $ixr_error->code ) {
		return $ixr_error;
	}
	return new IXR_Error( 0, '' );
}