Exception::errorMessage() – Prettify error message output.

You appear to be a bot. Output may be restricted

Description

Prettify error message output.

Usage

$string = Exception::errorMessage();

Parameters

Returns

string

Source

File name: wordpress/wp-includes/PHPMailer/Exception.php


Lines:

1 to 5 of 5
    public function errorMessage()
    {
        return '<strong>' . htmlspecialchars($this->getMessage(), ENT_COMPAT | ENT_HTML401) . "</strong><br />\n";
    }
 

 View on GitHub View on Trac