[ Index ]

PHP Cross Reference of WordPress




/wp-includes/ -> error-protection.php (summary)

Error Protection API: Functions

File Size: 157 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 functions


Functions that are not part of a class:

wp_paused_plugins()   X-Ref
Get the instance for storing paused plugins.

return: WP_Paused_Extensions_Storage

wp_paused_themes()   X-Ref
Get the instance for storing paused extensions.

return: WP_Paused_Extensions_Storage

wp_get_extension_error_description( $error )   X-Ref
Get a human readable description of an extension's error.

param: array $error Error details from `error_get_last()`.
since: 5.2.0
return: string Formatted error description.

wp_register_fatal_error_handler()   X-Ref
Registers the shutdown handler for fatal errors.

The handler will only be registered if {@see wp_is_fatal_error_handler_enabled()} returns true.

since: 5.2.0

wp_is_fatal_error_handler_enabled()   X-Ref
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.

since: 5.2.0
return: bool True if the fatal error handler is enabled, false otherwise.

wp_recovery_mode()   X-Ref
Access the WordPress Recovery Mode instance.

since: 5.2.0
return: WP_Recovery_Mode

Generated: Fri Jul 1 01:00:02 2022 Cross-referenced by PHPXref 0.7.1