Hi,
i have a taxonomy field (val1, val2, val3)
depending on what has been selected i need to hide some terms
do you think it’s possible ?
function filter_taxonomy_query ($args, $field, $post_id){
$args['i_dont_know_what_to_put_here'] = array ('131 '245' ); //ID to display
$return args;
}
add_filter('acf/fields/taxonomy/query/key=field_5ca35c102c42a', 'filter_taxonomy_query', 20, 3);