wp_query add arguments using array_push if variable met
I would suggest trying not to over-complicate the logic. You have the general thought process correct in your question. Assuming everything above works when you just add the meta_query logic to the query directly and run it, then your code should try to follow that same thought pattern. You’re accessing the globals – so list … Read more