wp_is_fatal_error_handler_enabled

SummerySummery

Checks whether the fatal error handler is enabled.

Syntax

wp_is_fatal_error_handler_enabled()

DescriptionDescription

A constant WP_DISABLE_FATAL_ERROR_HANDLER can be set in wp-config.php to disable it, or alternatively the ‘wp_fatal_error_handler_enabled’ filter can be used to modify the return value.

ReturnReturn

(bool) True if the fatal error handler is enabled, false otherwise.

SourceSource

File: wp-includes/error-protection.php


			

ChangelogChangelog

Changelog
Version Description
5.2.0 Introduced.
Scroll to Top