Automattic\WooCommerce\Blueprint
BuiltInStepProcessors::create_install_themes_processor
Creates the processor for installing themes.
Метод класса: BuiltInStepProcessors{}
Хуков нет.
Возвращает
ImportInstallTheme. The processor for installing themes.
Использование
// private - только в коде основоного (родительского) класса $result = $this->create_install_themes_processor();
Код BuiltInStepProcessors::create_install_themes_processor() BuiltInStepProcessors::create install themes processor WC 10.8.1
private function create_install_themes_processor() {
$storage = new ResourceStorages();
$storage->add_storage( new OrgThemeResourceStorage() );
return new ImportInstallTheme( $storage );
}