Home › Forums › Bug Reports › Programmatically inserting field with update_field() does not at _field_key meta › Reply To: Programmatically inserting field with update_field() does not at _field_key meta
Same here, i use update_field(‘total_de_capitulos’,$capitulos,’livro_’.$idLivro);
If i go to wp-admin everything is ok
But when i try
$termo = get_queried_object();
echo get_field(‘total_de_capitulos’, $termo);
I get wrong results.
And i checked that if i go to the term and save it again everything works fine!
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.