True/False field on taxonomy page sending blank space as a value
-
I have a taxonomy page with ACF fields that work perfectly fine. I need to turn off a feature on the front end. I created a true/false field on my taxonomy page. In my functions.php I have:
$somevar = get_field(‘true_false’);
when I check the var it’s always a blank space instead of true or false. I tried even adding a radio button with on/off and the radio button only sends a blank space. Does anyone know why I am not getting the value in my functions.php?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘True/False field on taxonomy page sending blank space as a value’ is closed to new replies.