wp_is_fatal_error_handler_enabled
wp_is_fatal_error_handler_enabled ( No parameters )
Returns:- (bool) True if the fatal error handler is enabled, false otherwise.
Defined at: - Introduced in WordPress: 5.2.0
- Deprecated in WordPress: —
Description
Checks whether the fatal error handler is enabled.A constant `WP_DISABLE_FATAL_ERROR_HANDLER` can be set in `wp-config.php` to disable it, or alternatively the
{@see 'wp_fatal_error_handler_enabled'} filter can be used to modify the return value.