Automattic\WooCommerce\Admin\Features\ProductBlockEditor

ProductFormsController::init()publicWC 1.0

Set up the product forms controller.

Метод класса: ProductFormsController{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ProductFormsController = new ProductFormsController();
$ProductFormsController->init();

Код ProductFormsController::init() WC 9.7.1

public function init() { // phpcs:ignore WooCommerce.Functions.InternalInjectionMethod.MissingFinal, WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag -- Not an injection.
	add_action( 'upgrader_process_complete', array( $this, 'migrate_templates_when_plugin_updated' ), 10, 2 );
}