WordPress plugin

The official iLeads plugin sends you an SMS for every lead from your site’s forms and every WooCommerce order, sends the customer an automatic message, adds an SMS login code for your team, and replaces the phone number on your site with your virtual number – no code needed.

View the plugin on WordPress.org →

Requirements

  • WordPress 6.1+ and PHP 7.4+.
  • An iLeads account with an SMS package, and an API key from the dashboard (see Authentication).
  • Messages are sent to Israeli mobile numbers only. Foreign and landline numbers are skipped and the attempt is logged.

Installation and setup

  1. In wp-admin: Plugins → Add New, search for iLeads, install and activate.
  2. Go to Settings → iLeads SMS.
  3. In the Main tab, enter your username, paste your API key and click Check settings. It runs a full request without sending an SMS or using your balance, and shows your balance.
  4. Enter a sender number and verify it (see below).
  5. Enter up to 5 numbers that receive leads, and choose which forms to send.
The key is stored encrypted and only its beginning is shown. To replace it, click Replace key and paste a new one.

Sender number

The number your messages are sent from – an Israeli mobile or landline. Each sender number must be verified once in your account:

  • Click Send verification. A mobile receives a verification link by SMS; a landline receives instructions for a verification call.
  • After verifying, click Check status.

Forms

Supported: Elementor Pro, Contact Form 7, WPForms, Gravity Forms, Fluent Forms and JetFormBuilder. The Main tab shows a card for each active form plugin:

  • Send me an SMS for every form submission – all fields are sent to you as Field label: value.
  • Send an SMS to the person who filled in the form – an automatic customer message. Their mobile is detected automatically from the phone field.
  • Forms on this site – all forms are included by default. Turn a form off, or open it to set its own numbers (up to 5) and customer message. New form missing? Click Refresh list.

In the Advanced tab you can list fields that will not be sent to you (IDs or labels, comma-separated).

Every message goes to at most 5 numbers. Include a variable such as {first_name} or {order_number} in customer messages: the exact same text sent to many numbers looks like a campaign and can pause sending. Access and limits

Variables and character counter

VariableWhereDescription
{first_name}, {last_name}Forms, WooCommerceFirst and last name.
{phone}, {email}FormsPhone and email from the form.
{form}FormsThe form name.
{field:ID}FormsAny field by its ID, e.g. {field:city}.
{order_number}, {order_total}, {status}, {city}WooCommerceOrder number, total, status and city.
{note}Note to customerThe note text.

Each message shows a character counter: up to 201 characters is one message, and every additional 201 characters is another message. Each variable is counted at a typical length, so it is an estimate – the final length depends on what is entered.

WooCommerce

The WooCommerce tab appears only when WooCommerce is active.

  • For each order status choose To me, To the customer, or both, with its own customer message.
  • Note to customer – a note added to an order as a “note to customer” can also be sent by SMS.
  • The customer’s mobile is taken from the order’s billing phone.

SMS login code

Two-step verification: after the password, a one-time 6-digit code is sent to the user’s mobile, and there is no login without it.

  1. Each user verifies their mobile once: Profile → iLeads SMS login verification → Send verification code. A correct code saves the number right away.
  2. In the Advanced tab, turn on Require an SMS code at login and choose the roles. You can’t turn it on before verifying your own mobile, so you can’t lock yourself out.
  3. Users in a selected role who haven’t verified a mobile can log in for 3 days from when verification applies to them (turning it on, user creation or a role change) and see a reminder in wp-admin. After that, login is blocked until an administrator extends their time.
  4. The Advanced tab lists the users: who verified, until when they can log in without verifying, extend by 5 days and unlock.
  5. WooCommerce customers (Customer role) get the code on the mobile from their billing details, and the first code verifies it.
  • A code is valid for 5 minutes. A new code can be requested once a minute.
  • After 5 wrong codes, login is locked for 15 minutes, the next time for 1 hour, then for 24 hours. A successful login resets the count.
  • Password login over XML-RPC is blocked for users with SMS verification. Application Passwords keep working, so existing API integrations don’t break.

Locked out? Add this line to wp-config.php, log in and fix the mobile in your profile, then remove it:

wp-config.php
define( 'EXSILE_SMS_DISABLE_OTP', true );

Phone number replacement

The Phone replacement tab turns on the phone replacement script without adding code to your site: the number currently on the site, a default number, a number per source, the URL parameters that identify the source, elements to skip, and WhatsApp links. The options are the same as the script’s.

Reliability and protection

  • Messages are sent after the visitor already got the form or checkout response, with a 10-second limit. Even if the service is unavailable, forms, emails and orders work as usual.
  • Fixed rate limits against form abuse: up to 3 customer messages per mobile per hour, and up to 5 customer messages and 10 alerts to you per visitor per 10 minutes.
  • Values entered in a form can’t add recipients.
  • Account errors (expired or revoked key, empty balance, unverified sender) appear as a notice in wp-admin, to administrators only.

Activity log and uninstall

  • The Advanced tab shows the last 200 events from the last 14 days – source, recipient, status and details. Numbers are partly hidden, and login codes and tokens are never stored.
  • Deactivating the plugin never deletes data. To delete settings and the log when the plugin is deleted, check Delete all plugin data in the Advanced tab.

Upgrading from 1.x

Settings move to 2.0 automatically, including old-style variables (@first_name becomes {first_name}). After upgrading, paste an API key from the dashboard. Until then a notice is shown, and an older token keeps working during the transition. If you used a password, messages won’t be sent until you add a key. Pojo Forms support was removed.