Support

Account

Home Forums General Issues Email obfuscation Reply To: Email obfuscation

  • Hi I’ve been trying all day to get this to work, but no dice. Here is my code, but it always displays the plaintext email in HTML.

    $email = get_field('pro_email');
    <a href="mailto:' .  antispambot(get_field('pro_email')) . '">'. get_field('pro_email') .'</a>

    Any help would be greatly appreciated!