Automattic\WooCommerce\Admin\Features\ProductBlockEditor
ProductFormsController::init()
Set up the product forms controller.
Method of the class: ProductFormsController{}
No Hooks.
Return
null
. Nothing (null).
Usage
$ProductFormsController = new ProductFormsController(); $ProductFormsController->init();
ProductFormsController::init() ProductFormsController::init code 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 ); }