Protect email address in your website against spam with shortcode like this : [encode email="[email protected]"]My text to encode[/encode]
As of April 2026, Encode Shortcode is a WordPress security plugin with 0 active installations and a 0/5 rating0. It has been downloaded 1.1K+ times in total. Requires WordPress 4.9+ and PHP false+. Available on WordPress.org since 2019. Last updated 7 years ago — may have compatibility concerns. Top alternative: Wordfence Security – Firewall, Malware….
WordPress plugin : Encode Shortcode
A WordPress plugin to protect the email address in your website against bots or spiders that index or harvest email addresses for sending spam. It uses a substitution cipher with a different key for every page load.
How to use in the WordPress editor
[encode email="[email protected]"]
Or :
[encode email="[email protected]"]Text in the link[/encode]
The result in the HTML code is like :
<span id="es-23908716">[Encoded]</span><script type="text/javascript">var a="x78UC50DOygu4kZAGq+ei3TbMfcrNYmvP@62Lznt_dQwJWX91HaIRVKEF.s-SjholpB";var b=a.split("").sort().join("");var c="WVdHRkVdHR8Xs";var d="";for(var e=0;e<c.length;e++) d+=b.charAt(a.indexOf(c.charAt(e)));document.getElementById("es-23908716").innerHTML="<a href=\"mailto:"+d+"\">"+…| WordPress | 4.9+ requiredTested up to 5.1.0 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.