I'm trying to get an Advanced Custom Field Group for specific taxonomy term it's been assigned to. I've come across:
acf_get_field_groups();
Easy enough to get a group from a post ID and also from a taxonomy, but when trying to get it for a term I'm having no luck;
Tried these:
acf_get_field_groups(array('term_id' => '1293'));
acf_get_field_groups(array('taxonomy' => 'services','term_id' => '1293'));
Either this function is not capable of doing what I'm expecting it is, or I am not providing the argument format correctly.
from Get Advanced Custom Field Group for specific taxonomy term
No comments:
Post a Comment