Summery Summery

Filters the message that the default PHP error template displays.

Syntax Syntax

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

Parameters Parameters

$message

HTML error message to display.

$error

Error information retrieved from error_get_last().

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.

Advertisement

Leave a Reply