Support

Account

Home Forums General Issues acf select field to custom function Reply To: acf select field to custom function

  • use get_field() instead of the_field(). the_field() echos the value which you don’t want to do.

    
    <h6>
    
        <?php conserva(get_field('especial')); ?>
    
    </h6>