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.
$ixr_errorIXR_Errorrequired
function xmlrpc_pingback_error( $ixr_error ) {
if ( 48 === $ixr_error->code ) {
return $ixr_error;
}
return new IXR_Error( 0, '' );
}
| Version | Description |
|---|---|
| 3.5.1 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/xmlrpc_pingback_error