Created
September 29, 2023 13:45
-
-
Save reformatco/e796c0fc86ce93d834ea9e28ef89420c to your computer and use it in GitHub Desktop.
Revisions
-
reformatco created this gist
Sep 29, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ // You can save original $wp_filter remove_action('parse_query', 'Tribe__Events__Query::parse_query', 50); remove_action('parse_query', 'Tribe__Events__Query::filter_and_order_by_date', 1000); // Run your query $query = new WP Query() // Reinstate the parse_query filters here in case you need it later on