Override default address
-
i need to display some usermeta in default address template..
according to wc docs.. the code in function.php to override and change thems looks like this// Billing and Shipping fields on my account edit-addresses and checkout add_filter( 'woocommerce_default_address_fields' , 'custom_override_default_address_fields' ); function custom_override_default_address_fields( $fields ) { $fields['first_name']['label'] = 'First name'; $fields['last_name']['label'] = 'Last name'; // ect ect return $fields; }
in my case this have no effect on frontend.. i can’t understand why.
im using elementor with “The7 theme”somone can help me to solve?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Override default address’ is closed to new replies.