Support

Account

Home Forums General Issues Advanced Custom Fields with Email Address Encoder

Solving

Advanced Custom Fields with Email Address Encoder

  • Hi.

    I’m using ACF with Email Address Encoder plugin. The plugin works great on the standard WordPress the_content field. However, it doesn’t encode email address in my AFC. I have a WYSIWYG field where I need the email encoded.

    I tried adding: add_filter(‘acf/load_value’, ‘eae_encode_emails’); to my functions file but this didn’t help.

    Any tips?

    Thanks

  • It’s all good – I’ve fixed it – turns out I had a typo in my echo of the field! So – in case anyone else reads this looking for the solution – adding add_filter(‘acf/load_value’, ‘eae_encode_emails’); to my functions did work.

  • If the filter for the encoder works on the content and you are using this in a wysiwyg editor, you could also use add_filter('acf_the_content', 'eae_encode_emails');

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Advanced Custom Fields with Email Address Encoder’ is closed to new replies.