On this page
WP_Paused_Extensions_Storage::__construct( string $extension_type )
Constructor.
Parameters
$extension_typestring Required-
Extension type. Either
'plugin'or'theme'.
Source
File: wp-includes/class-wp-paused-extensions-storage.php. View all references
public function __construct( $extension_type ) {
$this->type = $extension_type;
}
Related
Used By
| Used By | Description |
|---|---|
| wp_paused_plugins() wp-includes/error-protection.php | Get the instance for storing paused plugins. |
| wp_paused_themes() wp-includes/error-protection.php | Get the instance for storing paused extensions. |
Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_paused_extensions_storage/__construct