Docs

Signup email verification

5 min readUpdated November 19, 2026

If your site lets visitors create their own accounts, you’ll get fake sign-ups: bots, throwaway addresses, and people who type someone else’s email. Signup email verification holds each new account until its owner clicks a confirmation link sent to the address they entered.

It is off by default.

A settings interface for signup email verification. It features a toggle for requiring verification, and numeric input fields for link lifetime in hours and the deletion of unconfirmed accounts in days. Text describes how registration is currently closed.

What it does#

  1. A visitor registers on your site.
  2. Shield marks the new account as pending and emails a confirmation link to the address they gave.
  3. Until they click the link, they can’t log in. If they try, they see “Please confirm your email address first.” with a link to resend the email.
  4. When they click the link, the account is confirmed and they’re sent to the login page with the message “Your email address has been confirmed. You can now log in.”
  5. An account that is never confirmed is deleted automatically after the number of days you choose.

This only matters if registration is open on your site (Settings → General → Anyone can register, or WooCommerce account creation). If registration is closed, the settings show a note: “Registration is currently closed… These options take effect once it is opened.”

Set it up#

  1. Go to Settings → Login Shield → Access tab and scroll to Signup email verification.
  2. Turn on Require verification (“Hold new accounts until the confirmation link is clicked”).
  3. Set Link lifetime: how long the emailed link works, from 1 to 72 hours. The default is 24.
  4. Set Delete unconfirmed after: how many days an unconfirmed account is kept before it’s deleted, from 1 to 30. The default is 7.
  5. Click Save access settings.
  6. Test: register a new account with an address you can read. Confirm that you can’t log in, that the email arrives, and that the link works.

Customize the confirmation email#

Right below the verification settings is a second section, Signup confirmation email. This is where you change what the email says.

FieldWhat it does
SubjectThe email’s subject line
HeadingThe big title inside the email
MessageThe text above the confirmation button. A blank line starts a new paragraph.

You can use these placeholders in any field. Click one of the chips under the Message box to insert it:

  • {site_name}: your site’s name
  • {user_name}: the new user’s name
  • {link}: the confirmation link
  • {hours}: how many hours the link works
  • {minutes}: the same time in minutes

The confirmation button is always in the email, even if you remove {link} from your text.

To go back to the built-in wording, clear a field and save. The built-in text follows your site’s language.

Two buttons help you check your work:

  • Preview opens the saved version of the email in a new tab. Save first, because it shows the saved version, not what you’re typing.
  • Send test to [your address] emails the confirmation email, with a sample link, to your own admin address. It uses the saved settings.

Click Save email wording to save. This section has its own save button, so saving it never changes your verification settings above, and the other way round.

A digital form for editing a signup confirmation email. It includes fields for the subject, heading, and message body, with selectable insert tags below the text box and a preview button at the bottom left.

Logo, colors and sender

The sender name, sender address, logo, colors and footer are shared by every email Shield sends, so they stay in one place: Settings tab → Email branding. The section has a link to it. The Settings tab now holds the wording for the two-factor code and magic-link emails only. A note there points back to the Access tab for the signup email.

What users see#

SituationWhat they see
Tries to log in before confirming“Please confirm your email address first.” with a “Resend the confirmation email” link
Clicks the resend link“If that account is awaiting confirmation, a new confirmation email has been sent. Please check your inbox.”
Clicks the confirmation link in time“Your email address has been confirmed. You can now log in.”
Clicks an expired link“That confirmation link has expired. Try logging in to request a new one.”
Clicks a link that’s wrong or already used“That confirmation link is invalid.”

The resend link works at most once every two minutes per account. It always shows the same “sent” message, whether or not the account exists, so it can’t be used to find out who has an account.

Managing pending users#

Open Users. With verification on, you’ll see:

  • An Email verified column showing Verified (green tick) or Pending (hover to see how long ago they registered).
  • A Pending verification link above the list, with a count, that shows only unconfirmed accounts.
  • A Verify now link under each pending user’s name. Click it to confirm them yourself, for example if their email never arrived.

Who is not held#

Shield doesn’t hold:

  • Accounts you create yourself in Users → Add New.
  • Accounts created by WP-CLI, or by an administrator through the REST API.
  • WooCommerce checkout customers. A customer who creates an account while paying is not held, because placing an order proves their address. A customer who has registered but not confirmed becomes confirmed when they place an order.
  • Administrators and anyone who can edit users, even if flagged by mistake: they are never deleted.

Developers can skip verification for accounts created by their own code. See “Actions and filters”.

When accounts are deleted#

Once a day, Shield deletes accounts that are still unconfirmed after your Delete unconfirmed after number of days. It never deletes:

  • accounts that can edit users (administrators),
  • WooCommerce customers who have placed an order (their account is confirmed instead).

It deletes up to 200 accounts per daily run. Each deletion is written to the event log as a pruned account.

What gets logged#

The event log records: a verification email sent or re-sent, an account verified (by link, by an admin or by a WooCommerce order), an expired or invalid link, a login attempt before confirming, and each pruned account. See “The event log”.

Good to know#

  • Only new sign-ups. Existing users are not affected when you switch it on.
  • If you turn it off: pending accounts are no longer held. Anyone who registered and never confirmed can then log in with their password, and no more pruning happens. If that matters, confirm or delete pending users before turning it off.
  • Passkeys and magic links: a pending user can’t sign in with those either. Shield signs them straight back out.
  • Link security: the link is single-use and is stored only as a hash. Repeated bad links count as failed logins and can lock the sender’s IP out.
  • Forms from other plugins: this works with any form that creates a WordPress user, as long as it uses the standard registration process.

Was this helpful?

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