dd
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
1 changed file
with
13 additions
and
0 deletions
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | add_filter( 'woocommerce_account_menu_items', 'misha_rename_downloads' ); | ||
| 4 | |||
| 5 | function misha_rename_downloads( $menu_links ){ | ||
| 6 | |||
| 7 | // $menu_links[ 'TAB ID HERE' ] = 'NEW TAB NAME HERE'; | ||
| 8 | $menu_links[ 'dashboard' ] = 'My Account'; | ||
| 9 | $menu_links[ 'edit-address' ] = 'Address'; | ||
| 10 | |||
| 11 | return $menu_links; | ||
| 12 | } | ||
| 13 | |||
| 14 | |||
| 15 | |||
| 3 | function wooc_extra_register_fields() {?> | 16 | function wooc_extra_register_fields() {?> |
| 4 | <p class="form-row form-row-first"> | 17 | <p class="form-row form-row-first"> |
| 5 | <label for="reg_billing_first_name"><?php _e( 'First name', 'woocommerce' ); ?><span class="required">*</span></label> | 18 | <label for="reg_billing_first_name"><?php _e( 'First name', 'woocommerce' ); ?><span class="required">*</span></label> | ... | ... |
-
Please register or sign in to post a comment