I want to customize the navigation menu on the “My Account” page in WooCommerce. Specifically, I want to change the default label “Coupon” to “Gift Cards” of WooCommerce Smart Coupons.
You can use the the woocommerce_account_menu_items
filter to renames the “Coupon” menu item to “Gift Cards”.
add_filter( 'woocommerce_account_menu_items', function($items) {
// Rename "Coupon" to "Gift Cards"
$items['wc-smart-coupons'] = __('Gift Cards', 'textdomain');
return $items;
}, 99, 1 );