I am making a custom WP_Query and I need to come up with a SQL query that gets the posts IDs from X categories and Y authors. Then merge those IDs and put them in an array.
I only need to figure out the SQL query. Everything else, I got it.
I have looked everywhere for this but no one has been able to help me. Please help me out!!