Hello
I am creating an acf for selecting posts base on post_type and it’s categories
I have a field named post_type
and have a field categories
categories
‘s field type isTaxonomy
How Can i use post_type
selected value for display taxonomies of the selected post_type
?
For example : my post types is : Recipe , vitamin and …
my recipe
taxonomy name is recipe_category
and my vitamin
taxonomy name is vitamin_category
But when i am creating an acf field group i have to select on of them (vitamin_category
or recipe_category
) but i want this field be dynamic based of post_type
field
I Read about load_field
but i can not use my selected post_type
value in this
Thanks for help