WP_Paused_Extensions_Storage::__construct() WordPress Method
The WP_Paused_Extensions_Storage::__construct() method initializes the paused extensions storage. It accepts an array of paused extension objects and sets up the data structures needed to track them.
WP_Paused_Extensions_Storage::__construct( string $extension_type ) #
Constructor.
Parameters
- $extension_type
(string)(Required)Extension type. Either 'plugin' or 'theme'.
Source
File: wp-includes/class-wp-paused-extensions-storage.php
public function __construct( $extension_type ) { $this->type = $extension_type; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |