Support

Account

Home Forums General Issues Checkbox Reply To: Checkbox

  • Hi @vektormedia

    You can load the field object and find the value and label like so:

    
    <?php
    /*
    *  Displaying a single value's Label
    */
    $field = get_field_object('color');
    $value = get_field('color');
    $label = $field['choices'][ $value ];
    ?>
    

    Read more:
    http://wordpress.stackexchange.com/questions/90394/get-the-label-from-acf-checkbox

    Hope that helps.

    Thanks
    E