WordPress at a glance
filter is not described

wp_php_error_message filter-hook . WP 5.2.0

Filters the message that the default PHP error template displays.


add_filter( 'wp_php_error_message', 'filter_function_name_857', 10, 2 );
function filter_function_name_857( $message, $error ){
	// filter...

	return $message;
HTML error message to display.
Error information retrieved from error_get_last().

Where the hook is called

wp-includes/class-wp-fatal-error-handler.php 187
$message = apply_filters( 'wp_php_error_message', $message, $error );

Where the hook is used (in WP core)

Использование не найдено.