Un motore di ricerca WordPress per sviluppatori e autori di temi



xmlrpc_pingback_error ›

Da3.5.1
Deprecaton/a
xmlrpc_pingback_error ( $ixr_error )
Parametri:
  • (IXR_Error) $ixr_error
    Richiesto:
Links:
Ritorna:
  • (IXR_Error)
Definito a:
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.



Sorgenti

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