Skip to content
SocialMate
Knowledge base WordPress plugin

How do I add sign-in with a WhatsApp code?

Customers type their number, get a six-digit code from your WhatsApp and are signed in — on the shop account page, the WordPress login or anywhere you put [socialmate_login].

1 min read Updated November 10, 2026

Customers type their WhatsApp number, receive a six-digit code from your own number, and are signed in — no password to remember. It works with or without WooCommerce, on every SocialMate plan.

Screenshot coming soonSigning in with a WhatsApp code on the storefront.
Signing in with a WhatsApp code on the storefront.

Switch it on

  1. Open SocialMate → Website → Sign in with WhatsApp and turn on Send them a code. A code lasts five minutes, works once, and only in the browser that asked for it.
  2. Choose where it appears: the shop account page (WooCommerce My Account, checkout sign-in and register form), anywhere you put [socialmate_login], and — if you want — the WordPress login screen.
  3. Decide whether a new number may sign up this way (off to begin with). It creates a plain customer account with no other permissions.
  4. Optionally word the message yourself — keep {code} in it — and press Save.
Screenshot coming soonWebsite → Sign in with WhatsApp: where the code is offered and what it says.
Website → Sign in with WhatsApp: where the code is offered and what it says.

Built to be safe. Requests are throttled, an unknown number gets the same answer as a known one (so nobody can probe who has an account), and an editor or administrator is never signed in by a code.

Step-by-step guide

See Sign in with a WhatsApp code and the WhatsApp login overview.

Was this helpful?

Still stuck — open a ticket · Back to all articles

Free forever · no card Download free