Support

Account

Home › Forums › General Issues › get_field not returning value › Reply To: get_field not returning value

  • Thanks for the suggestion, John. I modified your code slightly:

    $expirationtime = get_field("expiration");
     echo "<div>Expiration date: " . $expirationtime . "</div>";

    and this is the result:
    <div>Expiration date: </div>