Created
August 5, 2014 20:57
-
-
Save joshfeck/1bc3731cd1c468916c7f to your computer and use it in GitHub Desktop.
Disables the calendar icon functionality that was added in Event Espresso 4.3
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( '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