Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Disables the calendar icon functionality that was added in Event Espresso 4.3
<?php
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file
add_action( 'template_redirect', 'my_remove_ical_link' );
function my_remove_ical_link() {
remove_filter( 'FHEE__espresso_list_of_event_dates__datetime_html', array( 'EED_Ical', 'generate_add_to_iCal_button' ), 10 );
}
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.