Àpèjúwe
This lightweight plugin automatically sets the correct country calling code (+44, +49, etc.) in ForminatorÌtumọ̀ Yorùbá: ’s phone field based on the userÌtumọ̀ Yorùbá: ’s IP address. No manual selection needed — just install, activate, and go!
Perfect for improving user experience and reducing friction on international forms.
Features:
- Detects user IP via ForminatorÌtumọ̀ Yorùbá: ’s built-in methods
- Calls ipapi.co to determine the country calling code
- Supports optional API key (free and paid)
- Adds an admin settings page to manage the key
- Built and maintained by Huseyin Mardinli
Usage
Make sure:
Ìtumọ̀ Yorùbá: – YouÌtumọ̀ Yorùbá: ’re using the Forminator plugin by WPMU DEV.
Ìtumọ̀ Yorùbá: – Your phone field is configured with International Format.
Ìtumọ̀ Yorùbá: – You do not set a default value for the phone field.
Once active, the phone field will automatically be pre-filled with the appropriate international calling code based on the userÌtumọ̀ Yorùbá: ’s IP.
External services
This plugin connects to the public IP geolocation service ipapi.co to detect the correct phone country calling code based on the visitorÌtumọ̀ Yorùbá: ’s IP address. It is required to automatically prefill the Forminator phone field with the appropriate country code.
What data is sent and when
Ìtumọ̀ Yorùbá: – On page load where the Forminator phone field is present (and only when autodetect is enabled), the plugin makes a server-side request to https://ipapi.co/{IP}/country_calling_code/, where {IP} is the visitorÌtumọ̀ Yorùbá: ’s IP address determined by your site. This request is used to retrieve the international calling code (e.g., +1, +44).
Provider, Terms, and Privacy
Ìtumọ̀ Yorùbá: – Service: ipapi.co (Kloudend, Inc)
Ìtumọ̀ Yorùbá: – Terms of Service: https://ipapi.co/terms/
Ìtumọ̀ Yorùbá: – Privacy Policy: https://ipapi.co/privacy/
Notes
Ìtumọ̀ Yorùbá: – The request is performed from your server to ipapi.co, and includes the visitorÌtumọ̀ Yorùbá: ’s IP address in the URL path. ipapi.co may retain standard web server logs as described in their privacy policy.
Ìtumọ̀ Yorùbá: – If the external service is unavailable or returns an error, the plugin falls back to leaving the field unchanged (or to your configured default, if set).
Author
Developed by Huseyin Mardinli
GitHub: https://github.com/Housma
💙 Donate: https://www.paypal.com/donate/?hosted_button_id=MDDGA8HUZA4B4
Ìgbéwọlẹ̀
- Upload the plugin folder to
/wp-content/plugins/or install via WordPress Admin > Plugins > Add New. - Activate the plugin.
- Go to Settings > Forminator Phone Autodetect.
- (Optional) Enter your ipapi.co API key to avoid quota limits.
FAQ
-
Do I need an API key?
-
No, but itÌtumọ̀ Yorùbá: ’s recommended. Without a key, you’re limited to around 1000 IP lookups per month. You can get a free key from ipapi.co.
-
Does it work with AJAX forms or popups?
-
Yes, as long as Forminator renders the field server-side. Dynamic/AJAX-injected forms may require custom adjustments.
-
What if the location isnÌtumọ̀ Yorùbá: ’t detected?
-
The field will simply remain empty or use the Forminator default.
Àwọn àgbéyẹ̀wò
Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.
Àwọn Olùkópa & Olùgbéejáde
“Phone Country Autodetect for Forminator” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.
Àwọn OlùkópaTúmọ̀ “Phone Country Autodetect for Forminator” sí èdè rẹ.
Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?
Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.
Àkọsílẹ̀ àwọn àyípadà
1.0
- Initial release with country detection and settings page
