wpseek.com
WordPress开发者和主题制作者的搜索引擎



xmlrpc_pingback_error › WordPress Function

Since3.5.1
已弃用n/a
xmlrpc_pingback_error ( $ixr_error )
参数:
  • (IXR_Error) $ixr_error
    Required: Yes
链接:
返回:
  • (IXR_Error)
定义在:
文档:

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.


源码

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