WP_Recovery_Mode::handle_error

Advertisement

Summery Summery

Handles a fatal error occurring.

Syntax Syntax

WP_Recovery_Mode::handle_error( array $error )

Description Description

The calling API should immediately die() after calling this function.

Parameters Parameters

$error

(array) (Required) Error details from error_get_last()

Return Return

(true|WP_Error) True if the error was handled and headers have already been sent. Or the request will exit to try and catch multiple errors at once. WP_Error if an error occurred preventing it from being handled.

Source Source

File: wp-includes/class-wp-recovery-mode.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.