IXR_Error::__construct()publicWP 1.0

PHP5 constructor.

Method of the class: IXR_Error{}

No Hooks.

Return

null. Nothing (null).

Usage

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

IXR_Error::__construct() code WP 6.5.2

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