apply_filters( 'wp_php_error_message', string $message, array $error )

Filters the message that the default PHP error template displays.


Parameters Parameters

$message

(string) HTML error message to display.

$error

(array) Error information retrieved from error_get_last().


Top ↑

Source Source

File: wp-includes/class-wp-fatal-error-handler.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.