Add custom ID to WooCommerce product tab
Looking at tabs.php in WooCommerce, the id attribute is prefixed with tab-title- and uses the key from the array of tabs. This means if you do $tabs[‘wptricksdk’] = array( … ), the value of the tab’s id attribute would be tab-title-wptricksdk. Mixing numerical keys and string keys in arrays can get messy, but I think … Read more