Automattic\WooCommerce\Internal\Admin\Onboarding

OnboardingSetupWizard::should_show()privateWC 1.0

Returns true if the profiler should be displayed (not completed and not skipped).

Method of the class: OnboardingSetupWizard{}

No Hooks.

Return

true|false.

Usage

// private - for code of main (parent) class only
$result = $this->should_show();

OnboardingSetupWizard::should_show() code WC 7.1.1

private function should_show() {
	if ( $this->is_setup_wizard() ) {
		return true;
	}

	return OnboardingProfile::needs_completion();
}