• I’d like to be able to query these fields in functions.php, but I am not sure how to retrieve the information.
    Are there any examples available about this?

    I have been using codes like this
    $datums = get_field(‘datums’, false, false);
    echo $datums;
    var_dump($datums);
    // $datums = new DateTime($datums);

  • The topic ‘How to use multiple dates in functions.php’ is closed to new replies.