Automattic\WooCommerce\Admin\Features\ProductBlockEditor
ProductFormsController::init
Set up the product forms controller.
Метод класса: ProductFormsController{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ProductFormsController = new ProductFormsController(); $ProductFormsController->init();
Код ProductFormsController::init() ProductFormsController::init WC 10.5.0
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 );
}