Automattic\WooCommerce\Blueprint\Steps

ActivateTheme::__constructpublicWC 1.0

ActivateTheme constructor.

Method of the class: ActivateTheme{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ActivateTheme = new ActivateTheme();
$ActivateTheme->__construct( $theme_folder_name );
$theme_folder_name(string) (required)
The name of the theme to be activated.

ActivateTheme::__construct() code WC 9.9.5

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