• Resolved daanvk

    (@daanvk)


    First of all, thanks for this usefull plugin.

    It seems that this plugin adds a page to the navigation in the “My Account” page. Is there a way to hide this other than using CSS?

Viewing 1 replies (of 1 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @daanvk,

    We can help you hide it via a hook. Please add the below code to your active theme’s functions.php

    add_filter('woocommerce_account_menu_items','wt_removed_un_wanted_my_account_tabs',100,1);
    function wt_removed_un_wanted_my_account_tabs( $items ) {
       if( isset($items['wt-smart-coupon']) ) unset( $items['wt-smart-coupon'] );
       return $items;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Hide “My Coupons” from account page’ is closed to new replies.