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. View all references

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

Used By

Used By Description

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