WC_Admin_Setup_Wizard::should_show_recommended_step
Deprecated since 4.6.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
Should we display the 'Recommended' step? True if at least one of the recommendations will be displayed.
Method of the class: WC_Admin_Setup_Wizard{}
No Hooks.
Returns
true|false.
Usage
// protected - for code of main (parent) or child class $result = $this->should_show_recommended_step();
Changelog
| Deprecated since | 4.6.0 |
WC_Admin_Setup_Wizard::should_show_recommended_step() WC Admin Setup Wizard::should show recommended step code WC 10.5.0
protected function should_show_recommended_step() {
_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', 'Onboarding is maintained in WooCommerce Admin.' );
return $this->should_show_theme()
|| $this->should_show_automated_tax()
|| $this->should_show_mailchimp()
|| $this->should_show_facebook()
|| $this->should_show_wc_admin();
}