xmlrpc_pingback_error( IXR_Error $ixr_error )

Default filter attached to xmlrpc_pingback_error.


Description Description

Returns a generic pingback error code unless the error code is 48, which reports that the pingback is already registered.


Parameters Parameters

$ixr_error

(IXR_Error) (Required)


Top ↑

Return Return

(IXR_Error)


Top ↑

Source Source

File: wp-includes/comment.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
3.5.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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