Support

Account

Home Forums General Issues get_field() not returning values on specific post ID for image Reply To: get_field() not returning values on specific post ID for image

  • I’m still having trouble with true-false values. In the above example, there are 2 true-false switches (checkboxes):

    $artfile = $artwork[‘artfile’];
    $availability = $artwork[‘art-availability’];

    From what I read in the documentation, these should be returning 1 for true or 0 for false. However, they are returning empty, regardless of being checked or not. Any ideas?