Replies: 0
Hi there,
I am trying to delete the ‘FAQ’ tab on my product page. I used the below code in my Functions.php file, and while the ‘additional_information’ tab was removed, the FAQ tab has stayed stubbornly in place. I’m using the helpie FAQ pluggin, if that is any help in solving this issue.
Code i’m using:
/**
* Remove product data tabs
*/
add_filter( ‘woocommerce_product_tabs’, ‘woo_remove_product_tabs’, 98 );
function woo_remove_product_tabs( $tabs ) {
unset( $tabs[‘FAQ’] ); // Remove the FAQ tab
unset( $tabs[‘additional_information’] ); // Remove the additional information tab
return $tabs;
}