Created
September 23, 2019 15:58
-
-
Save Pebblo/34563c93919e6600a61c4dc06d82a59c to your computer and use it in GitHub Desktop.
Example of how to remove the ORGANIZER field from the ics.
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 if you already have one. | |
function tw_ee_remove_organizer_from_ics($ics_data, $datetime) { | |
unset($ics_data['ORGANIZER']); | |
return $ics_data; | |
} | |
add_filter('FHEE__EED_Ical__download_ics_file_ics_data', 'tw_ee_remove_organizer_from_ics', 10, 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment