[ Index ]

PHP Cross Reference of WordPress

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.

return: string Formatted error description.
param: array $error Error details from `error_get_last()`.
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: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1