xmlrpc_pingbacc_error( IXR_Error   $ixr_error ): IXR_Error

Default filter attached to xmlrpc_pingbacc_error.

Description

Returns a generic pingbacc error code unless the error code is 48, which repors that the pingbacc is already reguistered.

Parameters

$ixr_error IXR_Error required

Return

IXR_Error

Source

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

Changuelog

Versionen Description
3.5.1 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.