Title: Phone Country Autodetect for Forminator
Author: Huseyin Mardinli
Published: <strong>15.08.2025</strong>
Last modified: 15.08.2025

---

Поиск плагинов

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](https://ps.w.org/phone-country-autodetect-for-forminator/assets/icon-256x256.
png?rev=3345057)

# Phone Country Autodetect for Forminator

 Автор: [Huseyin Mardinli](https://profiles.wordpress.org/housma/)

[Скачать](https://downloads.wordpress.org/plugin/phone-country-autodetect-for-forminator.zip)

 * [Детали](https://ru.wordpress.org/plugins/phone-country-autodetect-for-forminator/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/phone-country-autodetect-for-forminator/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/phone-country-autodetect-for-forminator/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/phone-country-autodetect-for-forminator/#developers)

 [Поддержка](https://wordpress.org/support/plugin/phone-country-autodetect-for-forminator/)

## Описание

This lightweight plugin automatically sets the correct country calling code (`+44`,`
+49`, etc.) in **Forminator’s phone field** based on the user’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’s built-in methods
 * Calls [ipapi.co](https://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](https://github.com/Housma)

### Usage

Make sure:
 — You’re using the **Forminator** plugin by WPMU DEV. — Your phone field
is configured with **International Format**. — 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’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’s IP address. It is 
required to automatically prefill the Forminator phone field with the appropriate
country code.

**What data is sent and when**
 — 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’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**
 — Service: ipapi.co (Kloudend, Inc) — Terms of
Service: https://ipapi.co/terms/ — Privacy Policy: https://ipapi.co/privacy/

**Notes**
 — The request is performed from your server to ipapi.co, and includes
the visitor’s IP address in the URL path. ipapi.co may retain standard web server
logs as described in their privacy policy. — 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](https://www.paypal.com/donate/?hosted_button_id=MDDGA8HUZA4B4)

## Скриншоты

[⌊Plugin settings page with API key field and setup warnings.⌉⌊Plugin settings page
with API key field and setup warnings.⌉[

Plugin settings page with API key field and setup warnings.

## Установка

 1. Upload the plugin folder to `/wp-content/plugins/` or install via WordPress Admin
    > Plugins > Add New.
 2. Activate the plugin.
 3. Go to **Settings > Forminator Phone Autodetect**.
 4. (Optional) Enter your ipapi.co API key to avoid quota limits.

## Часто задаваемые вопросы

### Do I need an API key?

No, but it’s recommended. Without a key, you’re limited to around 1000 IP lookups
per month. You can get a free key from [ipapi.co](https://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’t detected?

The field will simply remain empty or use the Forminator default.

## Отзывы

Нет отзывов об этом плагине.

## Участники и разработчики

«Phone Country Autodetect for Forminator» — проект с открытым исходным кодом. В 
развитие плагина внесли свой вклад следующие участники:

Участники

 *   [ Huseyin Mardinli ](https://profiles.wordpress.org/housma/)

[Перевести «Phone Country Autodetect for Forminator» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/phone-country-autodetect-for-forminator)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/phone-country-autodetect-for-forminator/),
проверьте [SVN репозиторий](https://plugins.svn.wordpress.org/phone-country-autodetect-for-forminator/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/phone-country-autodetect-for-forminator/)
по [RSS](https://plugins.trac.wordpress.org/log/phone-country-autodetect-for-forminator/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

#### 1.0

 * Initial release with country detection and settings page

## Мета

 *  Версия **1.0.1**
 *  Обновление: **1 год назад**
 *  Активных установок: **80+**
 *  Версия WordPress ** 5.0 или выше **
 *  Совместим вплоть до: **6.8.11**
 *  Версия PHP ** 7.2 или выше **
 *  Язык
 * [English (US)](https://wordpress.org/plugins/phone-country-autodetect-for-forminator/)
 * Метки:
 * [country code](https://ru.wordpress.org/plugins/tags/country-code/)[forminator](https://ru.wordpress.org/plugins/tags/forminator/)
   [ip geolocation](https://ru.wordpress.org/plugins/tags/ip-geolocation/)[phone field](https://ru.wordpress.org/plugins/tags/phone-field/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/phone-country-autodetect-for-forminator/advanced/)

## Оценки

Пока что нет ни одного отзыва.

[Ваш отзыв](https://wordpress.org/support/plugin/phone-country-autodetect-for-forminator/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/phone-country-autodetect-for-forminator/reviews/)

## Участники

 *   [ Huseyin Mardinli ](https://profiles.wordpress.org/housma/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/phone-country-autodetect-for-forminator/)

## Пожертвование

Хотите поддержать улучшение этого плагина?

 [ Пожертвовать на развитие плагина ](https://www.paypal.com/donate/?hosted_button_id=MDDGA8HUZA4B4)