Mert Gün Bıçakcı
Femtopat
- Katılım
- 3 Mart 2023
- Mesajlar
- 5
Daha fazla
- Cinsiyet
- Erkek
Çözüm için temanızın functions.php dosyasının içerisine bu kodu ekleyin.
Kod:
add_filter( 'woocommerce_account_menu_items', 'custom_account_menu_items' );
function custom_account_menu_items( $items ) {
$new_items = array();
foreach ( $items as $key => $item ) {
if ( $key == 'edit-address' ) {
$new_items['edit-address'] = 'Adresi Düzenle';
} else {
$new_items[$key] = $item;
}
}
return $new_items;
}