[ Index ]

PHP Cross Reference of WordPress




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

Error Protection API: Functions

File Size: 136 lines (3 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 {@see error_get_last()}
return: string Formatted error description.
since: 5.2.0

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.

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

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

return: WP_Recovery_Mode
since: 5.2.0

Generated: Fri Jul 3 01:00:03 2020 Cross-referenced by PHPXref 0.7.1