Support

Account

Home Forums General Issues Email obfuscation Reply To: Email obfuscation

  • @jeffreyd00 Here, with less noise:

    <?php
        $theEmail = get_sub_field('staff_email_address');
        <a href="mailto:<?php echo antispambot( $theEmail ) ?>">
           <?php the_sub_field('staff_name'); ?>
        </a>
    ?>