Last active
January 13, 2018 22:43
-
-
Save jackfearing/65153a77ff9c10d00a44c301b8283306 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Add to functions.php | |
//https://wordpress.org/plugins/email-address-encoder/ | |
//***************************************************************************** | |
// Email Address Encoder - ACF fields | |
//***************************************************************************** | |
//You cannot use Firebug, Web Inspector or Dragonfly, because they decode decimal/hexadecimal entities into plain text. To make sure email addresses are encoded, right-/secondary-click the page, click “View Source”, “View Page Source” or “Source” and search for any plain text email addresses. In Firefox, be sure to test with “View Source” not “View Selection Source”. | |
add_filter('acf/load_value', 'eae_encode_emails'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment