Filters whether to trigger an error.
$triggerbool$function_namestring$messagestring$error_levelintwp-includes/functions.php:6128wp_trigger_error() * * @param bool $trigger Whether to trigger the error. Default true. * @param string $function_name The function that triggered the error. * @param string $message The message explaining the error. * @param int $error_level The designated error type for this error. */ if ( ! apply_filters( 'wp_trigger_error_trigger_error', true, $function_name, $message, $error_level ) ) { return; } // Bail out if WP_DEBUG is not turned on. if ( ! WP_DEBUG ) { return;Introduced in 7.0.0. Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.