If you’ve done any work with The Event Calendar from Modern Tribe, then there’s a chance you’re familiar with some different ways to go about doing certain tasks.

The Events Calendar Homepage
That is, programmatically creating events, altering events, setting up repeating events (if it’s the pro version), and so on.
What if, though, you need to go about querying event post types – some or all, doesn’t matter – and you find that your query isn’t working? And no, I’m not talking about using a raw SQL query or even a parameterized version with the $wpdb class.
I’m talking about WP_Query.




