This was working fine until I moved the fields into groups.
Example: I have a group field named facebook. In the group I have 2 fields, facebook-url and facebook-active.
I am attempting to echo that info to the page:
<a href="<?php the_field('facebook-url', 'option'); ?>"><i class="fab fa-facebook-square"></i></a>
This worked fine when I just had a single field for the url named facebook. But when I decided to add the facebook-active toggle and move the fields into a group, it stopped working. Do I have to do something different to access a field in a group?
Nevermind. I figured out how to access fields within fields. Basically, the group field is an array of the sub fields. Easy peasy.