Cannot remove More info tab since update

This topic has 4 replies, 2 voices, and was last updated 9 years, 11 months ago ago by Jack Richardson

  • Avatar: byxiaowei
    byxiaowei
    Participant
    December 30, 2015 at 10:54

    Hello,

    I removed the more info tab and reviews tab with the following snippet before the theme update.
    But now, it dosen’t work.
    Thank you for your help!

    add_filter( ‘woocommerce_product_tabs’, ‘woo_remove_product_tabs’, 98 );
    function woo_remove_product_tabs( $tabs ) {
    unset( $tabs[‘reviews’] ); // Remove the reviews tab
    unset( $tabs[‘additional_information’] ); // Remove the additional information tab
    return $tabs;
    }

    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 30, 2015 at 12:51

    Hello,

    The problem was you named child functions.php incorrectly. You had named it function.php.
    I’ve made the necessary changes. Please check your site now.

    Best regards,
    Jack Richardson.

    Avatar: byxiaowei
    byxiaowei
    Participant
    December 30, 2015 at 13:00

    Thank you very much 🙂

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 30, 2015 at 13:08

    Hello,

    You’re welcome.

    Best regards,
    Jack Richardson.

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Cannot remove More info tab since update’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.