[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/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

  wp_paused_plugins()
  wp_paused_themes()
  wp_get_extension_error_description()
  wp_register_fatal_error_handler()
  wp_is_fatal_error_handler_enabled()
  wp_recovery_mode()

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()`.
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.


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.

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

return: WP_Recovery_Mode



Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref