Title: dropdown menu
Last modified: August 31, 2016

---

# dropdown menu

 *  Resolved [hello_how_are_you](https://wordpress.org/support/users/hello_how_are_you/)
 * (@hello_how_are_you)
 * [10 years ago](https://wordpress.org/support/topic/dropdown-menu-56/)
 * Hello,
 * Thanks for an awesome plug-in!
 * So I have this dropdown where the user’s location (country) needs to be pre-selected.
 * For my form, I’m using the plug-in Quform.
    It said that I need to add this code
   in the functions.php of my theme:
 * add_filter(‘iphorm_element_value_country’, ‘mytheme_set_country’);
 * function mytheme_set_country($value)
    { // Here you return the name of the detected
   country from your other plugin }
 * So I’m wondering what should I put on that line where it says ‘// Here you return…’
 * Thank you!
 * _albert
 * [https://wordpress.org/plugins/geoip-detect/](https://wordpress.org/plugins/geoip-detect/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [hello_how_are_you](https://wordpress.org/support/users/hello_how_are_you/)
 * (@hello_how_are_you)
 * [10 years ago](https://wordpress.org/support/topic/dropdown-menu-56/#post-7445828)
 * It’s ok. I figured it out.
    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘dropdown menu’ is closed to new replies.

 * ![](https://ps.w.org/geoip-detect/assets/icon-256x256.jpg?rev=978998)
 * [Geolocation IP Detection](https://wordpress.org/plugins/geoip-detect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/geoip-detect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/geoip-detect/)
 * [Active Topics](https://wordpress.org/support/plugin/geoip-detect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geoip-detect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geoip-detect/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [hello_how_are_you](https://wordpress.org/support/users/hello_how_are_you/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/dropdown-menu-56/#post-7445828)
 * Status: resolved