W3cubDocs

/WordPress

IXR_Error::__construct( $code, $message )

PHP5 constructor.

Source

File: wp-includes/IXR/class-IXR-error.php

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

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