WordPress at a glance
filter is not described

wp_should_handle_php_error filter-hook . WP 5.2.0

Filters whether a given thrown error should be handled by the fatal error handler.

This filter is only fired if the error is not already configured to be handled by WordPress core. As such, it exclusively allows adding further rules for which errors should be handled, but not removing existing ones.

Usage

add_filter( 'wp_should_handle_php_error', 'filter_function_name_3493', 10, 2 );
function filter_function_name_3493( $should_handle_error, $error ){
	// filter...

	return $should_handle_error;
}
$should_handle_error(true/false)
Whether the error should be handled by the fatal error handler.
$error(array)
Error information retrieved from error_get_last().

Changelog

Since 5.2.0 Introduced.

Where the hook is called

WP_Fatal_Error_Handler::should_handle_error()
wp_should_handle_php_error
wp-includes/class-wp-fatal-error-handler.php 114
return (bool) apply_filters( 'wp_should_handle_php_error', false, $error );

Where the hook is used (in WP core)

Usage not found!