Automattic\WooCommerce\Blueprint
BuiltInStepProcessors::create_install_themes_processor
Creates the processor for installing themes.
Method of the class: BuiltInStepProcessors{}
No Hooks.
Returns
ImportInstallTheme
. The processor for installing themes.
Usage
// private - for code of main (parent) class only $result = $this->create_install_themes_processor();
BuiltInStepProcessors::create_install_themes_processor() BuiltInStepProcessors::create install themes processor code WC 9.9.5
private function create_install_themes_processor() { $storage = new ResourceStorages(); $storage->add_storage( new OrgThemeResourceStorage() ); return new ImportInstallTheme( $storage ); }