fix(uc): drop 我的订单 from 我的服务; keep under 权益与消费
This commit is contained in:
@@ -13,8 +13,8 @@ defined('ABSPATH') || exit;
|
||||
<div class="uc-sidebar__title"><?php esc_html_e('我的服务', 'aksrt'); ?></div>
|
||||
<div class="uc-sidebar__buttons">
|
||||
<?php foreach ($dashboard_tabs as $tab_key => $tab) :
|
||||
// VIP only under 权益与消费 (sidebar-commerce), not duplicated here.
|
||||
if ((string) $tab_key === 'vip') {
|
||||
// VIP / 订单 only under 权益与消费 (sidebar-commerce), not duplicated here.
|
||||
if (in_array((string) $tab_key, ['vip', 'orders'], true)) {
|
||||
continue;
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user