Automattic\WooCommerce\Internal\Admin\Onboarding

OnboardingProfile::init()public staticWC 1.0

Add onboarding actions.

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

No Hooks.

Return

null. Nothing.

Usage

$result = OnboardingProfile::init();

Код OnboardingProfile::init() WC 7.1.0

public static function init() {
	add_action( 'woocommerce_updated', array( __CLASS__, 'maybe_mark_complete' ) );
	add_action( 'update_option_' . self::DATA_OPTION, array( __CLASS__, 'trigger_complete' ), 10, 2 );
}