Archived topic
Eliminar una pestaña por defecto en página de producto
1 reply · Started by _blank on July 22, 2022
Hola,
Quisiera saber cómo puedo eliminar la pestaña FAQ, la última pestaña de todas, y que sale por defecto en todas las páginas de producto.
Les dejo un link a mi web para que puedan ver a lo que me refiero
https://invitacionesdepapel.com/comprar/silueta-carton-foto-personalizada/
Hi there,
the Theme doesn't add or control the display of tabs, and that FAQ tab isn't there by default in Woocommerce.
This means the Tab has been added by a plugin or custom function. You should check to see if that can be disabled.
If not you can try this PHP Snippet:
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
function woo_remove_product_tabs( $tabs ) {
unset( $tabs['faq'] );
return $tabs;
}
I can't say if that will work but that is the woommerce function for setting and unsetting tabs.