WP_Fatal_Error_Handler::should_handle_error

SummerySummery

Determines whether we are dealing with an error that WordPress should handle in order to protect the admin backend against WSODs.

Syntax

WP_Fatal_Error_Handler::should_handle_error( array $error )

ParametersParameters

$error

(array) (Required) Error information retrieved from error_get_last().

ReturnReturn

(bool) Whether WordPress should handle this error.

SourceSource

File: wp-includes/class-wp-fatal-error-handler.php


			

ChangelogChangelog

Changelog
Version Description
5.2.0 Introduced.
Scroll to Top