Thanks @hube2 for your reply,
but the code is not adding taxonomy term on post.
i think we have to define two things
1. limit this function to taxonomy “List Only”
2. load the posts inside Taxonomy Term’s relation fields then add the current taxonomy term into “all posts selected with taxonomy term’s relation field”
but the code i added is not doing anything actually … 🙁
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users