Stumped… worked for a different theme / app, but for whatever reason, guessing I am missing something ‘simple’, I cannot retrieve the value of a checkbox (or any other ACF field) for custom taxonomy for custom post type (and I can retrieve default fields like term_description().
Loop w/ foreach (print_r just fine / correctly);
Assign $variables ‘->’ (echos just fine)
You have a small mistake in the function parameters.
Just replace the comma with a dot.
Should be like this:
$test_desc = get_field( ‘custom_desc’, $term_tax . ‘_’ . $term_id );
$test_desc = get_field( ‘custom_desc’, ‘term_’ . $term_id );