• Resolved klmnweb

    (@klmnweb)


    Hi,

    How to remove/unset single page product tabs on certain pages. My following function removes from everywhere.

    function single_remove_tab($tabs) {
     unset($tabs);
     return $tabs;
    	}
    add_filter( 'woocommerce_product_tabs', 'single_remove_tab');

    But I want this applicable on a particular page calling page ids.

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove product tabs on certain pages’ is closed to new replies.