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