Support

Account

Home Forums Backend Issues (wp-admin) Phone field with href="tel:" link Reply To: Phone field with href="tel:" link

  • Sorry to bring back an old thread, but is there a way to do this using the acf/update_value filter?

    Meaning, what code would fire:

    $phone = get_field('phone-number');
    <a href="tel:<?php echo $phone; ?>"><?php echo $phone; ?></a>

    on all pages, so everywhere the phone-number value appears it is replaced with the linked version?

    Thanks.