IXR_Error::__construct()publicWP 1.0

PHP5 constructor.

{} It's a method of the class: IXR_Error{}

No Hooks.

Return

null. Nothing.

Usage

$IXR_Error = new IXR_Error();
$IXR_Error->__construct( $code, $message );
$code (required)
-
$message (required)
-

Code of IXR_Error::__construct() WP 6.0

function __construct( $code, $message )
{
    $this->code = $code;
    $this->message = htmlspecialchars($message);
}