I have two taxonomy and a post type.
Post type: Employee (
employee
)Taxonomy: Location (term example
chicago
, id 1)Taxonomy: Job Title (
job-title
)
I want to list all job title based on a particular location. If CPT not available on that location the job title shouldn't be added.
I have tried to use WP_Term_Query() and wp_terms() but haven't found a way.