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'.


Top ↑

Source

File: wp-includes/class-wp-paused-extensions-storage.php

	public function __construct( $extension_type ) {
		$this->type = $extension_type;
	}


Top ↑

Changelog

Changelog
VersionDescription
5.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.