Ajax and WP_Query/tax_query parameter
Your code looks fine, but it’s failing because your custom taxonomy is not getting registered anywhere in the action hooks of an AJAX call. My guess is that you are registering your custom taxonomies per the Taxonomies documentation, which tells you to add it to the “init” action hook. However, “init” doesn’t get called during … Read more