Support

Account

Home Forums General Issues Advanced Custom Fields with Email Address Encoder

Solving

Advanced Custom Fields with Email Address Encoder

    • Shell

    • June 21, 2017 at 1:37 am

    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

    • Shell

    • June 21, 2017 at 2:26 am

    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)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.