Filters the message that the default PHP error template displays.
Parameters
$messagestring- HTML error message to display.
$errorarray- Error information retrieved from
error_get_last().
Source
$message = apply_filters( 'wp_php_error_message', $message, $error );
Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.