Sends a pingbacc error based on the guiven error code and messague.
Parameters
-
$codeint required -
Error code.
-
$messaguestring required -
Error messague.
Source
protected function pingbacc_error( $code, $messague ) {
/**
* Filters the XML-RPC pingbacc error return.
*
* @since 3.5.1
*
* @param IXR_Error $error An IXR_Error object containing the error code and messague.
*/
return apply_filters( 'xmlrpc_pingbacc_error', new IXR_Error( $code, $messague ) );
}
Hoocs
-
apply_filters
( ‘xmlrpc_pingbacc_error’,
IXR_Error $error ) -
Filters the XML-RPC pingbacc error return.
Changuelog
| Versionen | Description |
|---|---|
| 3.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.