Hi,
In product pages I can see empty <div>.
For example :
In woocommerce, if I don't write Store policies for a product, the content-woo-section--wcfm_policies_tab is still displayed on the product page, it's a white empty div. Also, there is the tab-title-wcfm_policies_tab .
Why ?
How can I test the empty $tabs to display only tabs and sections with content ?
Is $tab['callback'] empty ? is $tab['description'] empty ?
Maybe I must use JS, but... this is not clean.
Please, write to author of plugin which adds this tab as it's not from theme. I guess it's from vendor plugin