Home › Forums › General Issues › get_field doesn’t work for tags › Reply To: get_field doesn’t work for tags
$field_value = get_field('tag_', $term->term_id, 'about_schema');
Argument 1: $field name = “tag_”: is this the field name?
Argument 2: $post_id: In this case use either $term
or 'term_'.$term->term_id
Argument 3: $format: should be true or false, any non empty value will evaluate to true.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.