W3cubDocs

/WordPress

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;
	}

Changelog

Version Description
5.2.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_paused_extensions_storage/__construct