do_action( ‘wp_trigger_error_run’, string $function_name, string $message, int $error_level )

In this article

Fires when the given function triggers a user-level error/warning/notice/deprecation message.

Description

Can be used for debug backtracking.

Parameters

$function_namestring
The function that was called.
$messagestring
A message explaining what has been done incorrectly.
$error_levelint
The designated error type for this error.

Source

do_action( 'wp_trigger_error_run', $function_name, $message, $error_level );

Changelog

VersionDescription
6.4.0Introduced.

User Contributed Notes

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