I think the filter ‘acf/fields/post_object/query’ will work just fine, however the taxonomy will not be passed in as a parameter. This means you need to find another way to find the taxonomy.
I would use a function such as
This function will return lots of information about the current edit page.
Does this help?
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!
Are you an advanced @wp_acf user eager to learn Headless #WordPress?— WP Engine Builders (@wpebuilders) December 5, 2022
This upcoming webinar hosted by @J_Everhart383 was made for you.
👉 Register now: https://t.co/NrzWJZbdoN
Building Your First Headless WordPress Project with ACF + @wpgraphql 🎉 pic.twitter.com/ymyuPqkY2F
© 2022 Advanced Custom Fields.