Following a post I saw on FB, I’d like to incorporate a WP function ‘antispambot’ to encrypt an email address to avoid bot to scrap it => {echo:antispambot(‘john@doe.com’):mailto}, it doesn’t work, while if I do in a code block <a href="mailto:<?php echo antispambot('john@doe.com');?>">Contact me!</a>
, it works. Is it a bug ?
Hi tibo,
Welcome to the forum, and thanks for reaching out!
We’ve added the “@” dynamic data support in Bricks 1.5.5, now available as a one-click update within your WordPress Dashboard.
Please let us know if you are still experiencing issues.
Best regards,
timmse
Can you explain how to use this?
What exactly do you need? How / where exaclty do you want to output what?
I would like to encrypt an email address, or a link to an email address.
Many thanks. That does it for me.
I can still see the email address when I inspect the element. Is that correct?
Ignore me. It replaces the email address with gobbledegook in the source code. All good.
Yes. In the source code it’s encoded which is what matters. The dev tools show it decoded.