You can use this code adding it to functions.php
function custom_my_account_menu_items( $items ) {
$items = array(
//'dashboard' => __( 'Dashboard', 'woocommerce' ),
'orders' => __( 'Orders', 'woocommerce' ),
//'downloads' => __( 'Gratisy do pobrania', 'woocommerce' ),
//'edit-address' => __( 'Moje dane', 'woocommerce' ),
//'payment-methods' => __( 'Payment Methods', 'woocommerce' ),
'edit-account' => __( 'Edycja konta', 'woocommerce' ),
'customer-logout' => __( 'Logout', 'woocommerce' ),
'kontakt' => __( 'Masz pytanie', 'woocommerce' ),
'kontakt-orders' => __( 'Zapytaj o zamówienie', 'woocommerce' ),
);
return $items;
}
add_filter( 'woocommerce_account_menu_items', 'custom_my_account_menu_items' );
// before item disables it. Also believe changing order in the array will change order of the items in the tabs.
I use this code on both Woocommerce 2.6.14 and 3.0.4.
Moje dane is my translation so You can replace it with Your own.
-
This reply was modified 7 years, 7 months ago by jurasjo.