Automattic\WooCommerce\Blueprint\Importers
ImportInstallTheme::__construct
ImportInstallTheme constructor.
Метод класса: ImportInstallTheme{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ImportInstallTheme = new ImportInstallTheme(); $ImportInstallTheme->__construct( $storage );
- $storage(ResourceStorages) (обязательный)
- The resource storage used for downloading themes.
Код ImportInstallTheme::__construct() ImportInstallTheme:: construct WC 11.2.2
public function __construct( ResourceStorages $storage ) {
$this->result = StepProcessorResult::success( InstallTheme::get_step_name() );
$this->storage = $storage;
}