So the site i am working on has a Custom Post type of "Case Results" and one of the columns is "Type of Case". On a certain page I need to get all of these "Case Results with a "Type of Case" of "Criminal Defense Case". I can't seem to figure out which arguments will get me this in WP_Query.
I have tried many combinations but my most recent attempt looks like:
$args = [
'post_type' => 'case-results',
'tax_query' => [
[
'taxonomy' => 'type-of-case',
'field' => 'slug',
'term' => 'criminal-defense-case'
]
]
];