
Using shortcode in Gutenberg Block Editor.
A lightweight plugin that protects email addresses from email-harvesting bots, by converting email addresses characters to HTML entities. Hide email from Spam Bots using a shortcode [obfuscate_email]
and built-in WordPress function antispambot().
Features
- Obfuscate plain email address
- Obfuscate href mailto link in HTML anchor element
- Support for custom CSS class
- Support for email subject
Usage
Obfuscate plain email address
[obfuscate_email email="your@email.com"]
Create clickable email address
[obfuscate_email email="your@email.com" link=true]
Add CSS class to the HTML anchor element
[obfuscate_email email="your@email.com" link=true class="my-class another-class"]
Obfuscate email address with email subject
[obfuscate_email email='your@email.com?subject=My custom email subject']
Shortcode parameter
email
required – Email address.link
optional – Set true if you want to create clickable email address.class
optional – Add space separated list of classes.
Active installations1K+
Weekly downloads
69-19.77%
Version1.2.0
Last updated4/15/2025
WordPress version2.5
Tested up to6.8.1
PHP version5.6
Tags
anti-spamemailobfuscateobfuscationprotect