Action hook 'wp_trigger_error_run'

in WP Core File wp-includes/functions.php at line 6067

Description

Fires when the given function triggers a user-level error/warning/notice/deprecation message. Can be used for debug backtracking.

Occurrences

Filename Line Number
wp-includes/functions.php 6067

Parameters

Type Name Description
string $function_name The function that was called.
string $message A message explaining what has been done incorrectly.
int $error_level The designated error type for this error.

PHP Doc

/**
	 * Fires when the given function triggers a user-level error/warning/notice/deprecation message.
	 *
	 * Can be used for debug backtracking.
	 *
	 * @since 6.4.0
	 *
	 * @param string $function_name The function that was called.
	 * @param string $message       A message explaining what has been done incorrectly.
	 * @param int    $error_level   The designated error type for this error.
	 */