tax_query options
-
I have a tax_query defined to filter my results and my tax_query looks like this:
$tax_query = [ 'relation' => 'AND', // Match ANY categories grouped by "Parent Category 1" [ 'taxonomy' => 'project_categories', 'terms' => 'cat-slug1, cat-slug2, cat-slug3', 'field' => 'slug', 'operator' => 'OR', ], // AND match ANY categories grouped by "Parent Category 2" [ 'taxonomy' => 'project_categories', 'terms' => 'cat-slug4, cat-slug5, cat-slug6', 'field' => 'slug', 'operator' => 'OR', ], ];
So I want to duplicate the functionality I mentioned above with this plugin as so could I replicate this functionality under the “Custom Fields (Meta_Query)”?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘tax_query options’ is closed to new replies.