
This plugin can be utilized for for simple cellphone quantity enter in worldwide format with utilizing flags of nations. Consist the choice to set nation routinely (utilizing consumer IP) and cellphone quantity validation.
To begin plugin work – it is advisable to activate it and allow “Pleasant int. cellphone discipline” in your “Telephone” discipline. It’s actually easy.
Additionally verify WP WooCommerce model of the plugin right here: Link
Options:
- New! Capacity to stop type submit with out right cellphone quantity[s]
- Comfy usability through admin panel
- Works with any WordPress theme
- Cross browser compatibility
- No coding required
Accessible filters:
- gfip_prevent_wrong_phone_submit – Stop type submit with out right cellphone quantity[s]
- gfip_success_message – Customized “Telephone is right” frontend message
- gfip_fail_message – Customized “Telephone is inaccurate” frontend message
- gfi_show_only_countries – settle for array of nation codes which you wish to present in record
- gfi_initial_country – preliminary nation code, if not set it’s going to take consumer nation nation from IP deal with
- gfi_preferred_countries – array of most popular international locations
Accessible filters examples:
add_filter('gfip_prevent_wrong_phone_submit', operate ($enabled) { $enabled = true; return $enabled; }, 10, 1); add_filter( 'gfip_success_message', operate ($message) { $message = 'Appropriate!'; return $message; }, 10, 1 ); add_filter( 'gfip_fail_message', operate ($message) { $message = 'Incorrect :('; return $message; }, 10, 1 ); add_filter('gfi_show_only_countries', operate(){ return ['ua', 'us', 'gb']; }); add_filter('gfi_initial_country', operate(){ return 'ua'; }); add_filter('gfi_preferred_countries', operate(){ return ['ua', 'gb']; });
v 1.2.3 - 22/02/2025 - Compatibility fixes (+ Orbital theme assist) v 1.2.2 - 09/07/2021 - Modified the way in which of cellphone validation (from now cellphone quantity will probably be validated on keyup occasion as an alternative of the blur occasion) v 1.2.1 - 24/09/2020 - Localization applied - Capacity to stop type submission with out right cellphone quantity[s] v 1.2 - 22/03/2020 - Filters added v 1.1.1 - 02/11/2019 - Bug repair v 1.1 - 12/08/2019 - A number of types situations on a single web page assist added v 1.0 - 07/07/2019 - First steady launch