Automattic\WooCommerce\Internal\Admin\Onboarding
OnboardingHelper::init
Init.
Method of the class: OnboardingHelper{}
No Hooks.
Returns
null. Nothing (null).
Usage
$OnboardingHelper = new OnboardingHelper(); $OnboardingHelper->init();
OnboardingHelper::init() OnboardingHelper::init code WC 10.3.3
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' ) );
}