Automattic\WooCommerce\Internal\Admin\Onboarding
OnboardingSetupWizard::should_show
Returns true if the profiler should be displayed (not completed and not skipped).
Method of the class: OnboardingSetupWizard{}
No Hooks.
Returns
true|false.
Usage
// private - for code of main (parent) class only $result = $this->should_show();
OnboardingSetupWizard::should_show() OnboardingSetupWizard::should show code WC 10.8.1
private function should_show() {
if ( $this->is_setup_wizard() ) {
return true;
}
return OnboardingProfile::needs_completion();
}