Filters whether to trigger an error.
Parameters
$triggerbool- Whether to trigger the error. Default true.
$function_namestring- The function that triggered the error.
$messagestring- The message explaining the error.
$error_levelint- The designated error type for this error.
Source
if ( ! apply_filters( 'wp_trigger_error_trigger_error', true, $function_name, $message, $error_level ) ) {
Changelog
| Version | Description |
|---|---|
| 7.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.