Nevermind, I figured this out.
The id needs to be “category_” and then the ID.
So the code is:
$sub_heading = get_field("sub_heading", "category_" . $cat->term_id);
Nevermind, I figured this out.
The id needs to be “category_” and then the ID.
So the code is:
$sub_heading = get_field("sub_heading", "category_" . $cat->term_id);