On this page
wp_paused_themes(): WP_Paused_Extensions_Storage
Get the instance for storing paused extensions.
Return
Source
File: wp-includes/error-protection.php. View all references
function wp_paused_themes() {
static $storage = null;
if ( null === $storage ) {
$storage = new WP_Paused_Extensions_Storage( 'theme' );
}
return $storage;
}
Related
Uses
| Uses | Description |
|---|---|
| WP_Paused_Extensions_Storage::__construct() wp-includes/class-wp-paused-extensions-storage.php | Constructor. |
Used By
| Used By | Description |
|---|---|
| WP_Recovery_Mode::store_error() wp-includes/class-wp-recovery-mode.php | Stores the given error so that the extension causing it is paused. |
| WP_Recovery_Mode::exit_recovery_mode() wp-includes/class-wp-recovery-mode.php | Ends the current recovery mode session. |
| wp_skip_paused_themes() wp-includes/load.php | Filters a given list of themes, removing any paused themes from it. |
| resume_theme() wp-admin/includes/theme.php | Tries to resume a single theme. |
| switch_theme() wp-includes/theme.php | Switches the theme. |
| WP_Theme::__construct() wp-includes/class-wp-theme.php | Constructor for WP_Theme. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_paused_themes