Uma área de pesquisa sobre o WordPress para devs e autores do tema



xmlrpc_pingback_error ›

Desde3.5.1
Obsoleton/a
xmlrpc_pingback_error ( $ixr_error )
Parâmetros:
  • (IXR_Error) $ixr_error
    Required: Yes
Links:
Retorna:
  • (IXR_Error)
Definido em:
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.



Fonte

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