To be specific:
– I have a CPT called ‘Exercises’. These have a ‘Muscle Group’ Taxonomy.
– I have another CPT called ‘Workout Plan’. This includes a Select Field for Muscle Group (the options being the ‘Muscle Group’ Taxonomies), and a Select Field for ‘Exercises’.
– I would like the Select Field Options for ‘Exercises’ to be filtered based on the value chosen in the ‘Muscle Group’ Select Field. For example, if ‘Legs’ is the chosen Muscle Group, then only Exercises with the Taxonomy of ‘Legs’ will be shown in the ‘Exercises’ Select Field.
I am fairly new to PHP, so really appreciate any pointers.
Thanks in advance.