Docs

Main

Release notes

Every Main release, with new features, fixes and anything you need to know before updating.

Latest 1.3.4 November 22, 2026
Releases 14 documented changes

2026

14 releases
  1. v1.3.4 Fixed

    1.3.4

    Fixed: On the Checkout block, with "Use same address for billing" ticked, the phone number was saved to the delivery address only. Stores that require a phone turned the order away with…

    Fixed: On the Checkout block, with “Use same address for billing” ticked, the phone number was saved to the delivery address only. Stores that require a phone turned the order away with “There was a problem with the provided billing address: Phone is required”, and when a customer changed their number, the billing address kept the old one. The number is now copied to billing too, as WooCommerce’s own form does.

    New: A safety net on the server. If the billing phone still arrives empty at checkout and the billing name and address match the delivery ones, the delivery phone is used for billing. Each time this happens it’s logged under WooCommerce → Status → Logs (source: smart-phone-field). A billing phone the customer typed is never replaced, and a separate billing address never gets the recipient’s number. Developers can switch this off with the nahnu_spf_fill_billing_phone filter.

    Fixed: The number check accepted lengths that only short service numbers can have, so a mobile number missing a digit or two could pass (for example in Australia). It now checks lengths against mobile and landline numbers on the classic checkout, the Checkout block, the phone field shortcode and the admin order screen. Developers can change which kinds of number are accepted with the nahnu_spf_validation_number_types filter.

    Changed: Removed the last traces of the old SPF License menu item (the License tab replaced it in 1.1.1).

  2. v1.3.3 Improved

    1.3.3

    Improved: the checkout styles are now loaded only on pages that show the Checkout block. Before, on stores using the Checkout block, they were loaded on every page of the site. Improved…

    • Improved: the checkout styles are now loaded only on pages that show the Checkout block. Before, on stores using the Checkout block, they were loaded on every page of the site.
    • Improved: the classic checkout scripts now load with defer, so they never hold up the page while it loads.
    • Improved: the plugin now passes WordPress.org’s Plugin Check, the official review tool for WordPress plugins. The readme was tidied to fit its limits (short description, tags, upgrade notices), the developer reference moved to the FAQ, and every PHP file blocks direct access.
    • Improved: the plugin takes about 750 KB less space once installed. Unused copies of the phone library were removed, and the SureCart licensing library moved to the vendor folder.
  3. v1.3.2 Fixed

    1.3.2

    Fixed: phone numbers that don’t go through the phone field are now saved with their country code too. Express payments such as Apple Pay and Google Pay (for example through Stripe) fill…

    • Fixed: phone numbers that don’t go through the phone field are now saved with their country code too. Express payments such as Apple Pay and Google Pay (for example through Stripe) fill the billing phone from the wallet after the checkout’s own check, so it could be saved as 5405214304 instead of +15405214304. Now, whenever an order is saved, a billing or shipping phone without a country code gets one, using that address’s country (or the other address’s, or the store’s). This also covers orders made by other plugins, the REST API and imports, and customer account addresses.
    • The number as it was is kept with the order (_nahnu_spf_original_billing_phone / _nahnu_spf_original_shipping_phone) or the customer, the same place the Tools converter uses. Numbers that already have a country code, or aren’t valid for the country, are left as they are. Developers can switch this off with the nahnu_spf_convert_saved_phone filter.
  4. v1.3.1 Fixed

    1.3.1

    Fixed: without WooCommerce, the country lists on the Countries tab (Show only these countries, Hide these countries) showed as plain boxes. They now show the chosen countries as tags with a search…

    • Fixed: without WooCommerce, the country lists on the Countries tab (Show only these countries, Hide these countries) showed as plain boxes. They now show the chosen countries as tags with a search box to add more, and the preferred country dropdowns match the rest of the page.
    • Changed: without WooCommerce, settings that only work with WooCommerce are hidden: readable numbers on orders, the phone field on My Account and admin orders, the WhatsApp button, Pre-fill state and Use for WooCommerce geolocation. The WooCommerce geolocation option is removed from Detection method, and the General and Check phone numbers texts no longer mention checkout.
    • Changed: CDN / hosting headers is now the default location detection method for new installs. It works on your own server with no outside calls. Sites that already chose a method keep it.
    • Fixed: right-to-left sites (Arabic, Hebrew, Persian and others). The flag and dial code now sit on the right inside the box for the phone field shortcode, the live demo, the developer API fields and the WooCommerce-look field, where the dial code could be pushed out of the box before. Phone numbers keep their left-to-right order and line up next to the dial code, and the floating label starts on the right.
    • Fixed: on right-to-left sites, country codes in the country list read +44 instead of 44+, the flags have space next to the country names, and the demo’s Saved as and Readable numbers read left to right.
    • Fixed: on right-to-left sites, readable phone numbers in order emails, on the thank-you page, in My Account and on the admin order screen keep their order (+44 20 7946 0000 instead of 0000 7946 20 44+). The phone field on the admin order screen follows the same layout.
    • Fixed: an open country list could show behind the floating label of the next phone field on the same page.
  5. v1.3.0 New

    1.3.0

    New: Line Type tab. Find out if a phone number is a mobile, landline or VoIP number (and its carrier) by asking a lookup service. Works for US and Canadian numbers and…

    • New: Line Type tab. Find out if a phone number is a mobile, landline or VoIP number (and its carrier) by asking a lookup service. Works for US and Canadian numbers and for numbers moved to another carrier, which the built-in phone rules can’t tell apart.
    • New: 10 lookup services to choose from: Twilio Lookup, Plivo Lookup, Telnyx Number Lookup, Vonage Number Insight, Telesign Phone ID, IPQualityScore, NumVerify, Veriphone, AbstractAPI Phone Intelligence and NeutrinoAPI. The list shows which ones use live carrier data and which use number ranges.
    • New: Test a lookup box on the Line Type tab to check the keys with a real number, before or after saving.
    • New: WooCommerce orders. The billing and shipping phone of each new order (classic checkout and Block Checkout) are looked up when the order is placed, or in the background right after it. The line type and carrier are shown next to the phone number on the order screen and in the new order email to the store. A failed lookup is tried again in the background, and older orders get a Look up now link.
    • New: accept only mobile numbers, only landline numbers, or both at checkout (classic and Block Checkout). The number is checked when the order is placed, before payment, and a number of the wrong type stops the order with a message asking for the right kind. VoIP numbers can be accepted or refused. Numbers the service can’t place, and lookups that fail, are let through so a lookup problem never costs you a sale.
    • New: the live demo shortcode can show the line type from the lookup service, with a limit per visitor and per day so the demo can’t run up the bill.
    • New: nahnu_spf_line_type(), nahnu_spf_line_type_allowed() and nahnu_spf_line_type_enabled() for developers, filters to add your own lookup service, and actions after each lookup.
    • Improved: each number is looked up only once and the answer is remembered for 30 days (adjustable), so repeat customers and repeated checkout attempts aren’t paid for twice. The phone number itself isn’t stored in the cache.
    • New: a suggested privacy policy paragraph naming the lookup service when lookups are on.
  6. v1.2.2 Fixed

    1.2.2

    Fixed: with CDN edge HTML caching (for example Bunny) or a page cache set to cache everything, the live demo’s server check could fail. Visitors could also be shown the first visitor’s…

    • Fixed: with CDN edge HTML caching (for example Bunny) or a page cache set to cache everything, the live demo’s server check could fail. Visitors could also be shown the first visitor’s country. This happened because those background requests were cached too. Both requests are now sent as POST, which caches don’t store, and the answers are marked never to be cached (Cache-Control, CDN-Cache-Control and Surrogate-Control: no-store). The checkout’s location lookup works the same way.
    • New: a nahnu_spf_nocache cookie is set before the phone field asks the server anything. You can use it to add a cache or CDN rule (for example a Bunny Edge Rule) that skips the cache for these requests. The name can be changed with the nahnu_spf_nocache_cookie filter.
    • New: works with Nahnu Cache Connector for Bunny.net. When the connector is active, the visitor location lookup and the phone number check are added to its “Bypass cache: third-party URL patterns” edge rule automatically. Smart Phone Field is also listed on its Integrations tab. The connector updates its edge rules on its next check (within about 5 minutes), or right away with its Deploy now button. Deactivating Smart Phone Field removes the rule again.
  7. v1.2.1 Improved

    1.2.1

    Improved Faster location detection for the phone field shortcode, the live demo and form plugins. The lookup now starts while the page is still loading (in the page head), the phone-number rules…

    Improved

    • Faster location detection for the phone field shortcode, the live demo and form plugins. The lookup now starts while the page is still loading (in the page head), the phone-number rules download at the same time, and the scripts load in the background, so the field shows the visitor’s flag as soon as the page is ready, even in a hero section.
    • The visitor’s country is remembered in their browser for a day, so repeat visits show the flag instantly with no lookup. Only the country and state are kept, never anything the visitor types.
    • A slow location lookup never holds the field up: after 2 seconds it starts on the fallback country (the store country, or the site language’s country).

    Fixed

    • The phone field shortcode and the live demo keep their look in themes that style every button, text box and list on the page (the flag panel, dial codes, country search box and country list could look broken).
  8. v1.2.0 New

    1.2.0

    New Developer API so other plugins, themes and forms can use the phone field. PHP functions (nahnu_spf_field, nahnu_spf_check, nahnu_spf_is_valid, nahnu_spf_to_international, nahnu_spf_format, nahnu_spf_detect_country), a JavaScript API (window.NahnuSPF) with change and invalid events, and…

    New

    • Developer API so other plugins, themes and forms can use the phone field. PHP functions (nahnu_spf_field, nahnu_spf_check, nahnu_spf_is_valid, nahnu_spf_to_international, nahnu_spf_format, nahnu_spf_detect_country), a JavaScript API (window.NahnuSPF) with change and invalid events, and filters to set up phone inputs from checkout plugins automatically, including fields added to the page later.
    • Contact Form 7 support (beta). Every telephone field ([tel]) gets the flag dropdown, the form receives the full international number, and wrong numbers are stopped with a message in Contact Form 7’s style that names the country. Add class:no-smart-phone-field to leave a field as it is.
    • Fluent Forms support (beta). Give a Text Input field the Element Class smart-phone-field to turn it into a phone field. Entries are saved as the full international number, with messages in Fluent Forms’ style.
    • Integrations (Beta) tab with an on/off switch for each form plugin (off by default), and a way for other form plugins (or add-ons) to add their own support.
    • [smart_ phone_ field] (added spaces so shortcode would not load) shortcode to add the phone field to any form. The form receives the full international number and the country code.
    • [smart_ phone_ field_demo] (added spaces so shortcode would not load) shortcode and nahnu_spf_demo() for a live demo that looks like the WooCommerce checkout field and shows the saved number, readable format, country, number type and whether the number is valid, checked in the browser and on the server. A note says nothing typed into the demo is saved.
    • REST endpoint /wp-json/smart-phone-field/v1/check to check and format a phone number. It can be turned off with a filter.
    • Behind a CDN or proxy (Cloudflare, Bunny, CloudFront, Sucuri, Fastly and others), the visitor’s real IP address is read from the CDN’s header, so API lookups locate the visitor and not the CDN. A new Visitor IP address setting (Location tab) can switch this off for sites without a CDN.
    • Country headers from Bunny, CDN77 and Sucuri are read too.

    Improved

    • The server-side number check is stricter for numbers with a country code, so short local numbers (for example 7 digits in the US) are no longer accepted. All example numbers from the phone rules still pass.

    Changed

    • The plugin now also works without WooCommerce for the shortcode and developer API. Smart Phone Field gets its own item in the admin menu when WooCommerce isn’t active (and stays under WooCommerce when it is), and the checkout features turn on as soon as WooCommerce is active.
    • Without WooCommerce, “WooCommerce geolocation” uses your CDN or hosting headers instead, and fields start on the site language’s country when no location is found.

    Fixed

    • Typing in a phone field before the phone-number rules finished loading (slow connections) caused script errors. Affected the checkout too.
    • When the visitor’s location couldn’t be found, a script error stopped the field from finishing its set-up (a bug in the bundled phone library). Affected the checkout too.
    • The country list only showed about three countries at a time. It is now taller.
    • WordPress 6.7+ notice “Translation loading for the smart-phone-field domain was triggered too early”.
  9. v1.1.1 Improved

    1.1.1

    Smart Phone Field now requires WordPress 7.0 or newer and PHP 8.1 or newer. WordPress won’t install the update on sites below these versions, so those stores keep running 1.1.0 until they…

    • Smart Phone Field now requires WordPress 7.0 or newer and PHP 8.1 or newer. WordPress won’t install the update on sites below these versions, so those stores keep running 1.1.0 until they upgrade.
    • The license key form now lives in a License tab on the Smart Phone Field settings page, next to About. The separate WooCommerce → SPF License menu item is gone, and the License button in the header opens the new tab.
    • The license form is the standard SureCart one, so activating, deactivating and automatic updates work exactly as before. Already activated sites stay activated.
  10. v1.1.0 New

    1.1.0

    New Block Checkout support. The flag dropdown, number check and country settings work on the Checkout block by enhancing WooCommerce’s own billing and shipping phone fields, with the label inside the box…

    New

    • Block Checkout support. The flag dropdown, number check and country settings work on the Checkout block by enhancing WooCommerce’s own billing and shipping phone fields, with the label inside the box like WooCommerce’s other fields. Works straight from the plugin zip.
    • On phones and touch tablets the country list opens as a centered pop-up with a title, search, large tap targets and a Close button. Screen readers announce it as a dialog, and keyboard focus stays inside it while open.
    • Phone numbers are checked for the selected country, with a clear message next to the field (such as “too short”) before the order is placed. Landlines are accepted.
    • Server-side check that phone numbers have the right length for their country, on the classic checkout, Block Checkout and My Account (through WooCommerce’s own phone validation on WooCommerce 11+).
    • Flag dropdown on the billing and shipping phone when staff create or edit an order (WooCommerce → Orders), saving the number with its country code.
    • “Message on WhatsApp” button under the billing and shipping phone on the order screen, with the customer’s name and order number filled in.
    • Readable phone numbers. Saved numbers like +12015550123 show as +1 201-555-0123 on the order screen, in order emails and on the customer’s order pages, while the stored number stays in plain international format for SMS, CRM and other plugins.
    • Tools tab to convert phone numbers saved before the plugin was installed (orders and customer accounts) to international format, with a preview first. Original numbers are kept.
    • Pre-selects the visitor’s country when no country is chosen yet. Works with page caching.
    • Choose how the location is found: WooCommerce geolocation, CDN/hosting headers (Cloudflare, CloudFront, Vercel, server GeoIP), freeipapi.com (free or paid with API key) or IP2Location.io (with or without a key), plus an optional backup API when the CDN or WooCommerce finds nothing.
    • “Pre-fill state” fills an empty billing/shipping State / County from the visitor’s location when their country matches.
    • “Use for WooCommerce geolocation” setting. WooCommerce’s own location lookups (checkout country/state pre-fill, shipping and tax estimates) use your chosen method.
    • Redesigned settings page with tabs (General, Location, Countries, Appearance, Tools, About), on/off switches, searchable country pickers, a live accent-color preview and the Smart Phone Field logo.
    • “Show only these countries” and “Hide these countries” settings. If a country is in both lists, it is hidden.
    • On/off settings for the phone field on My Account, the phone field on admin orders, the WhatsApp button, readable numbers, number checking and visitor location.
    • Settings page notice when the Checkout block’s phone field is switched off.
    • All 34 bundled languages translate every message, setting and tool in the plugin.

    Improved

    • Faster checkout. The phone-number rules load in the background after the page has loaded instead of up front.
    • Saved numbers on My Account show correctly even before the phone-number rules finish loading.
    • Uninstalling also removes the plugin’s cached visitor locations. Original phone numbers saved by the Tools converter are kept as the store’s backup.

    Changed

    • The separate “nahnu-spf/phone” Block Checkout field is gone. The phone is now saved in WooCommerce’s normal billing and shipping phone fields.

    Fixed

    • On some sites the phone number could be saved without its country dial code on the classic checkout.
    • Preferred countries could appear in the wrong order or with duplicate dividers when both billing and shipping phone fields were on the page.

    Compatibility

    • Tested up to WordPress 7.1 and WooCommerce 11.2.
  11. v1.0.3 Improved

    1.0.3

    Tested up to WordPress 7.1.

    Tested up to WordPress 7.1.

  12. v1.0.2 Fixed

    1.0.2

    Fixed fatal error introduced in 1.0.1: Interface "Automattic\WooCommerce\Blocks\Integrations\IntegrationInterface" not found. Reverted the eager require_once of BlocksIntegration.php from bootstrap.php — the file is now loaded lazily by the autoloader, only when the WC…

    • Fixed fatal error introduced in 1.0.1: Interface “Automattic\WooCommerce\Blocks\Integrations\IntegrationInterface” not found.
    • Reverted the eager require_once of BlocksIntegration.php from bootstrap.php — the file is now loaded lazily by the autoloader, only when the WC Blocks integration is actually invoked.
    • Added an interface_exists() guard before calling BlocksIntegration::bootstrap() so sites without WC Blocks degrade cleanly to classic-checkout-only support instead of fataling.
  13. v1.0.1 Fixed

    1.0.1

    Fixed fatal error on activation/load when WooCommerce is active: Class "Nahnu\SmartPhoneField\Integrations\BlocksIntegration" not found. Repaired the PSR-style autoloader path (it was duplicating the includes/ segment, which prevented any class not explicitly required from…

    • Fixed fatal error on activation/load when WooCommerce is active: Class “Nahnu\SmartPhoneField\Integrations\BlocksIntegration” not found.
    • Repaired the PSR-style autoloader path (it was duplicating the includes/ segment, which prevented any class not explicitly required from bootstrap.php from loading).
  14. v1.0.0 New

    1.0.0 — Initial release

    Initial release. Smart international phone field for WooCommerce classic shortcode checkout. Same phone widget on the My Account → Edit Billing/Shipping Address pages. Automatic parsing of saved E.164 phone values into country…

    • Initial release.
    • Smart international phone field for WooCommerce classic shortcode checkout.
    • Same phone widget on the My Account → Edit Billing/Shipping Address pages.
    • Automatic parsing of saved E.164 phone values into country code + national format on load.
    • WPML String Translation support for the checkout phone label.
    • Bundled translations for 34 locales.
    • Server-side phone validation with CSRF nonce on shortcode checkout.
    • Preferred countries admin setting (up to 4) with country-code validation.
    • Primary accent color customization.
    • HPOS compatibility.
    • SureCart-powered licensing and automatic updates.
    • WooCommerce → SPF License submenu for license management.
    • RTL support.

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only