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().
- Obfuscate plain email address
- Obfuscate href mailto link in HTML anchor element
- Support for custom CSS class
Obfuscate plain email address
Create clickable email address
[obfuscate_email email="firstname.lastname@example.org" link=true]
Add CSS class to the HTML anchor element
[obfuscate_email email="email@example.com" link=true class="my-class another-class"]
linkoptional – Set true if you want to create clickable email address.
classoptional – Add space separated list of classes.
How does it work?
The plugin converts email addresses characters from
[obfuscate_email]shortcode to HTML entities. Email addresses on your web page will be obfuscated (hidden) from bots, while keeping them visible to humans. In fact, there are no visible changes to your website for visitors.
How can check if the plugin works?
View source code of your page (press
Ctrl + Uin web browser) and look for the place, where an email address is placed. You should see decimal entities instead of email address.
** Please note ** Inspector in developer tools automatically decode decimal and hexadecimal entities. You need to use View source code.
There are no reviews for this plugin.
Contributors & Developers
“Email Address Obfuscation” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Shortcode changed from email_obfuscate to obfuscate_email,
- Release Candidate.