Automattic\WooCommerce\Internal\Admin\Onboarding

OnboardingHelper::init()publicWC 1.0

Init.

Method of the class: OnboardingHelper{}

No Hooks.

Return

null. Nothing.

Usage

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

OnboardingHelper::init() code WC 7.1.1

public function init() {
	if ( ! is_admin() ) {
		return;
	}

	add_action( 'current_screen', array( $this, 'add_help_tab' ), 60 );
	add_action( 'current_screen', array( $this, 'reset_task_list' ) );
	add_action( 'current_screen', array( $this, 'reset_extended_task_list' ) );
}