Last active
February 27, 2020 01:26
-
-
Save bordoni/236914b904646c0c274293274fb1f4cc to your computer and use it in GitHub Desktop.
This file contains 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 characters
<?php | |
add_action( 'init', function() { | |
if ( ! is_tax() ) { | |
return; | |
} | |
if ( is_admin() ) { | |
return; | |
} | |
add_filter( 'tribe_query_can_inject_date_field', '__return_false', 25 ); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment