apply_filters( 'wp_php_error_message', string $message, array $error )
Filters the message that the default PHP error template displays.
Parameters
- $message
-
(string) HTML error message to display.
- $error
-
(array) Error information retrieved from
error_get_last()
.
Source
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_php_error_message