W3cubDocs

/WordPress

IXR_Error::__construct( $code, $message )

PHP5 constructor.

Source

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

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/ixr_error/__construct