Ready to get started?Download WordPress

Plugin Directory

Obfuscate E-mail

Version: 3.2 Obfuscate e-mail addresses to deter e-mail harvesting spammers, while retaining the appearance and functionality of hyperlinks.


  • Disable text direction technique by default (doesn't change existing setting value)
  • Update plugin framework to 036
  • Better singleton implementation:
    • Add instance() static method for returning/creating singleton instance
    • Made static variable 'instance' private
    • Made constructor protected
    • Made class final
    • Additional related changes in plugin framework (protected constructor, erroring __clone() and __wakeup())
  • Add checks to prevent execution of code if file is directly accessed
  • Regenerate .pot
  • Re-license as GPLv2 or later (from X11)
  • Add 'License' and 'License URI' header tags to readme.txt and plugin file
  • Discontinue use of PHP4-style constructor
  • Discontinue use of explicit pass-by-reference for objects
  • Remove ending PHP close tag
  • Minor documentation improvements
  • Minor code reformatting (spacing)
  • Note compatibility through WP 3.6+
  • Update copyright date (2013)
  • Move screenshots into repo's assets directory


  • Fix bug where display:none technique was ignored if text direction technique was not active
  • Fix bug where display:none and text direction techniques were erroneously applied to email addresses in tag attributes when mid-string
  • Update plugin framework to 034
  • Note compatibility through WP 3.3+
  • Drop compatibility with versions of WP older than 3.1
  • Change parent constructor invocation
  • Create 'lang' subdirectory and move .pot file into it
  • Regenerate .pot
  • Add 'Domain Path' directive to top of main plugin file
  • Add link to plugin directory page to readme.txt
  • Tweak installation instructions in readme.txt
  • Changed description
  • Documentation changes
  • Update screenshots for WP 3.3
  • Update copyright date (2012)


  • Significant rewrite of entire plugin
  • Use plugin framework v026, which among other things adds support for:
    • Reset of options to default values
    • Better sanitization of input values
    • Offload core/basic functionality to generic plugin framework
    • Additional hooks for various stages/places of plugin operation
    • Easier localization support
  • Apply obfuscation to additional filters: link_description, link_notes, bloginfo, nav_menu_description, term_description, the_title, list_cats, widget_text
  • Deprecate function c2c_email_obfuscator()
  • Change c2c_obfuscate_email()
    • Second argument is now an array of arguments to override plugin settings
    • All previously existing arguments (except first) have been deprecated
  • Add filter 'c2c_obfuscate_email_filters'
  • Full localization support
  • Fix to properly register activation and uninstall hooks
  • Save a static version of itself in class variable $instance
  • Rename class from 'ObfuscateEmail' to 'c2c_ObfuscateEmail'
  • Remove docs from top of plugin file (all that and more are in readme.txt)
  • Note compatibility with WP 3.1+ and WP 3.2+
  • Drop compatibility with versions of WP older than 3.0
  • Explicitly declare all class functions public
  • Add PHPDoc documentation
  • Add package info to top of plugin file
  • Add 'Text Domain' header tag
  • Add Template Tags, Filters, Changelog, and Upgrade Notice sections to readme.txt
  • Add screenshot
  • Update copyright date (2011)
  • Add .pot file


  • Overhauled and added a bunch of new code
  • Encapsulated a majority of functionality in a class
  • Added admin options page for the plugin, under Options -> Obfuscate E-mail (or in WP 2.5: Settings → Obfuscate E-mail) so that default e-mail obfuscation can be easily configured via WP admin
  • Packaged plugin into its own directory, now including a readme.txt and screenshots
  • Maintained (though renamed) existing primary functions (which have remained non-classed) for others to use directly
  • Added options to define replacements for "@" and "." characters in e-mails for partial obfuscation
  • Filter 'get_the_excerpt' instead of 'the_excerpt'
  • Additionally filter 'the_author_email' and 'get_comment_author_email'
  • trim() before returning instead of substr()
  • Tweaked description, installation instructions, and examples
  • Updated copyright date and version to 2.0
  • Added readme.txt and screenshot image to distribution zip
  • Tested compatibility with WP 2.3+ and 2.5


  • Initial release

Requires: 3.1 or higher
Compatible up to: 3.6.1
Last Updated: 2013-9-16
Active Installs: 9,000+


3.6 out of 5 stars


Got something to say? Need help?


Not enough data

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