WhoKnew Shield™ | What Gets Protected (And What Doesn’t)

Skip to main content
Table of Contents
Print

“Why isn’t my email protected?” usually comes down to where it lives and how you’re protecting it. This article spells out what auto-detection sees, what only shortcodes can cover, and what to do so nothing slips through.

Where Auto-Detection Looks

When Enable Auto-Detection is on, Shield scans content as it’s prepared for the page. That includes:

  • 📄 Posts and pages — The main body text. Plain emails (and in Pro, phones and addresses) in that content are found and protected.
  • 🧩 Widgets that output text — For example the standard Text widget or Custom HTML where content is passed through the same pipeline. If the widget runs shortcodes, auto-detection runs on its output too.

Themes and page builders can store or output content in different ways. When they do, detection counts may vary—but if the contact info is rendered in the browser as part of the page, it can still be protected as long as that output goes through the same content pipeline. When in doubt, use a shortcode so that spot is guaranteed protected.

What Auto-Detection Doesn’t See

Auto-detection only runs on content that WordPress (and your theme or builder) passes through the usual post/page and widget text filters. It does not run on:

  • 📌 Hardcoded contact in theme or plugin PHP — Emails or phones written directly in theme files (e.g. header, footer) or in another plugin’s code. That HTML is not scanned by Shield’s auto-detection.
  • 📎 Content inside PDFs or documents — Only live page content is scanned. Attachments and linked files are not.
  • 🔲 Content inside iframes or external embeds — Shield can’t change what’s loaded from another URL or in an iframe.
  • 📧 Contact form “from” addresses or backend-only data — Form plugin settings or server-side config are not part of the visible page content Shield scans.

For any of these, use the [whoknew-shield] shortcode in the place where that content is actually output (e.g. if your theme has a shortcode-aware footer widget, put the shortcode there). If the contact is only in PHP, you’d need to add it via a shortcode in a widget or replace the hardcoded block with a shortcode in the theme.

Quick Reference Table

Where your contact livesAuto-detection?What to do
📄 Post or page body text✅ YesTurn on auto-detection and the right type (email, phone, address). Or use a shortcode for that block.
🧩 Text / HTML widget (sidebar, footer)✅ YesSame as above. If the widget supports shortcodes, you can also drop in [whoknew-shield].
📌 Theme file (header, footer, template)❌ NoUse a shortcode in a widget that appears there, or edit the theme to output the shortcode where the email was.
📎 PDF or downloadable file❌ NoShield doesn’t modify file contents. Keep contact out of the PDF or list it on the page with a shortcode.
🔲 iframe or external embed❌ NoContent is from another source. Protect any contact you control on your own pages with shortcodes or auto-detect.
🎨 Page builder block / custom layoutMaybeIf the builder outputs through normal post content, auto-detect can see it. Otherwise use a shortcode block or “Shortcode” widget where the contact appears.

💡 Save yourself a ticket: If something isn’t protected, check (1) Enable Contact Protection is on, (2) for that location, either Enable Auto-Detection (and the right type) or a shortcode. For theme/builder/PDF/iframe, shortcodes (where they’re output) are the answer.

Shortcodes Work Anywhere Shortcodes Run

If WordPress (or your theme/widget) processes shortcodes in that spot, [whoknew-shield type="email"]you@site.com[/whoknew-shield] will be protected. That includes posts, pages, and most widgets that “run shortcodes.” So for a footer email that’s hardcoded in the theme, add a Text widget (or similar) that supports shortcodes to the footer and put the shortcode there—no need to edit theme PHP unless you want to.

Need Help?

For “nothing is protected” or “only some are”: Common Issues. For how auto-detection and shortcodes work: How Auto-Detection Works and When to Use Shortcodes vs Auto-Detection. For shortcode syntax: Basic Shortcodes.

Share