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.
Return
true|false
.
Usage
// private - for code of main (parent) class only $result = $this->should_show();
OnboardingSetupWizard::should_show() OnboardingSetupWizard::should show code WC 9.5.1
private function should_show() { if ( $this->is_setup_wizard() ) { return true; } return OnboardingProfile::needs_completion(); }