Created
May 17, 2019 18:33
-
-
Save joshfeck/45c94379ac1443b0b0702b7dd1c092c3 to your computer and use it in GitHub Desktop.
Remove display of "People" when it's an EE4 event archive (category or cpt archive) page
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 | |
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
add_action( | |
'AHEE__EED_Events_Archive__use_filterable_display_order__after_add_filters', | |
function(){ | |
remove_action( | |
'AHEE__EED_Events_Archive__use_filterable_display_order__after_add_filters', | |
array('EED_People_Event_Template_Parts', 'add_people_event_details_filters'), | |
10 | |
); | |
}, | |
9 | |
); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment