Support

Account

Home Forums ACF PRO Simple Fields to ACF Reply To: Simple Fields to ACF

  • I think I’ve got something working close to what I need:

    $hero = simple_fields_fieldgroup('field-group');
    
    $hero_field = (!empty($hero['value']) ? $hero['value'] : '');
    $hero_field =  (!empty($hero_field) ?: get_field('value'));
    

    I think this should allow me to continue the simple field architecture while I slowly make the switch over to ACF.