• Resolved Andry

    (@blackstar1991)


    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)
  • Plugin Support andrewshu

    (@andrewshu)

    Hello @blackstar1991

    Sorry, but customizations are not included in our support. You need to find an array with countries and use your value (US) as a key in this array for search full name in this array.

    Regards.

    Plugin Support andrewshu

    (@andrewshu)

    Hi @blackstar1991

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to show the selected field name?’ is closed to new replies.