Default filter attached to xmlrpc_pingback_error.
Description
Returns a generic pingback error code unless the error code is 48, which reports that the pingback is already registered.
Parameters
$ixr_error
IXR_Errorrequired
Source
function xmlrpc_pingback_error( $ixr_error ) {
if ( 48 === $ixr_error->code ) {
return $ixr_error;
}
return new IXR_Error( 0, '' );
}
Changelog
Version | Description |
---|---|
3.5.1 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.