How to show the selected field name?
-
Can you explain how to show what the user selected on the Аccount page.
For example, And need to show Country of on same page. And i write this:
<p class="account_country h6"><?php $current_user = wp_get_current_user(); $user_id = $current_user->ID; $country_value = get_user_meta($user_id, 'country', true); echo $country_value;?></p>
User Choose – “United State”, But I Got “US”
How to fix it? Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to show the selected field name?’ is closed to new replies.