Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter smwc

    (@smwc)

    I just remembered that our posts do not use ACF, and those are in fact be obfuscated. For example: https://www.smwc.edu/smwc-bring-annual-christmas-parade-back-downtown/

    Do you know what we would need to do to get ACF to support the obfuscation?

    Thanks!

    To get this to work with ACF you need to add something like the following code to either your functions.php file of your theme or to a custom plugin file.

    if (is_plugin_active('email-address-encoder/email-address-encoder.php'))  {
    	add_filter('acf/load_value', 'eae_encode_emails');
    }

    The above code will checks to see if the email address encoder plugin is activated and passes the acf fields through the Email Address Encoder filter if it is.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not encoding on any page – ACF compatibility issue?’ is closed to new replies.