wpseek.com
A WordPress-centric search engine for devs and theme authors



xmlrpc_pingback_error › WordPress Function

Since3.5.1
Deprecatedn/a
xmlrpc_pingback_error ( $ixr_error )
Parameters:
  • (IXR_Error) $ixr_error
    Required: Yes
Links:
Returns:
  • (IXR_Error)
Defined at:
Codex:

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.


Source

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