title: ACF phone number field make click to call
body: <p>I have a multi vendor website where vendors place their product with phone number. So, phone number is variable.
  I did &quot;Phone Number&quot; field it with ACF Pro.
  Now I'm trying to make ACF phone number field &quot;Click to Call&quot;</p>
  <p>I used this code but didn't help:</p>
  <pre><code>function convert_phone_to_link ($value, $post_id, $field) {
    if (!$value) {
      // no value
      return $value;
    }
    // get the tel link field
    $tel_link = get_field('tel_link_field');
    if (!$tel_link) {
      // no link
      return $value;
    }
    $value = '&lt;a href=&quot;tel:'.$tel_link.'&quot;&gt;'.$value.'&lt;/a&gt;';
    return $value;
  }
  </code></pre>