Automattic\WooCommerce\Internal\Admin\Notes
MagentoMigration::__construct()
Attach hooks.
Method of the class: MagentoMigration{}
No Hooks.
Return
null
. Nothing (null).
Usage
$MagentoMigration = new MagentoMigration(); $MagentoMigration->__construct();
MagentoMigration::__construct() MagentoMigration:: construct code WC 9.6.1
public function __construct() { add_action( 'update_option_' . OnboardingProfile::DATA_OPTION, array( __CLASS__, 'possibly_add_note' ) ); add_action( 'woocommerce_admin_magento_migration_note', array( __CLASS__, 'save_note' ) ); }