Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remove display of "People" when it's an EE4 event archive (category or cpt archive) page
<?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
You can’t perform that action at this time.