Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Email Protect

Automatically protects email address in posts, pages, and comments by converting them into safe alternatives (such as an images or obfuscated text) to

Template Usage:

Email addresses are automatically obfuscated in posts, pages, and comments. You can chose the obfuscation method (text or image) under the "Settings" menu. Email addresses in comments are always obfuscated using the text method.

To obfuscate an email address directly in a template file, enter a PHP code that mimicks the following style:

The $email variable holds your email address and the $type is an optional variable that can either be "text" or "image" depending on the type of obfuscation you want. If you don't specify a type the default setting in the options menu is used. For example, if your email address is myemail@example.com and you want it converted into an image, you would enter the following into your theme's template file:

If you wanted text obfuscation, simply change "image" to "text." It is important to remember the single quotes around both the email address and the type in the above function. The function above is designed so that if you deactivate the plugin it will not break your theme.

Requires: 2.3 or higher
Compatible up to: 2.5.1
Last Updated: 9 years ago
Active Installs: 300+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.