Hi,
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.
.