I”m registering a field via php and I was wondering is it possible to change a value in one of the filters based upon a taxonomy selected.
If you take a look at the filed under the taxonomy I have it filtering the options by the hero taxonomy but would like to be able to change the hero-1 based upon which hero the author selects in the hero taxonomy.
So for example if I select hero-3 in the taxonomy when writing the post it would just show me talents that are belong to the hero-3 taxonomy. So pretty much I need the taxonomy filter to be dynamic based upon which taxonomy term is selected.
array (
'key' => 'field_5578a91421158',
'label' => 'Build Tier 3',
'name' => 'build_tier_3',
'type' => 'post_object',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'post_type' => array (
0 => 'talent',
),
'taxonomy' => array (
0 => 'hero:hero-1',
),
'allow_null' => 0,
'multiple' => 0,
'return_format' => 'object',
'ui' => 1,
),