The Premium version comes with built-in support for various 3rd party plugins and themes such as Advanced Custom Fields, WooCommerce, Jetpack and many others.
Encoding non-filtered content
Sometimes you may want to obfuscate email addresses in your footer, or other parts of your theme that aren’t filtered. You can do so by using the eae_encode_emails() helper and changing theme code like this:
In some cases you might want to obfuscate something specific, you can do that using the eae_encode_str() helper.
Hello my name is Steve! You can reach me at:
<?php echo eae_encode_str( '[email protected]' ); ?>
Excluding email addresses
In some cases you might want to ignore a specific email address, you can do so with the eae_email_callback filter. This filter is quite versatile and can be used for many other things, for example you could use it to disable email addresses obfuscation on certain pages.
The default filter priority is 1000 and you can adjust it by defining the EAE_FILTER_PRIORITY constant. The constant has to be defined before this plugin is loaded, e.g. in your wp-config.php or in Must-use plugin.
define( 'EAE_FILTER_PRIORITY', 100 );
Changing the regular expression pattern
You can override the pattern that's used to find email addresses using the eae_regexp filter: