Created
December 7, 2020 18:24
-
-
Save jesseeproductions/8556ecf0f559c6d1836ee958f226ec43 to your computer and use it in GitHub Desktop.
Remove the Zoom Links from the Google Calendar and iCal Exports
This file contains hidden or 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 | |
/** | |
* Remove the Zoom Links from the Google Calendar and iCal Exports | |
* | |
*/ | |
function tribe_remove_virtual_events_from_exports() { | |
remove_filter( 'tribe_google_calendar_parameters', [ tribe( 'events-virtual.export' ), 'filter_google_calendar_parameters' ] ); | |
remove_filter( 'tribe_ical_feed_item', [ tribe( 'events-virtual.export' ), 'filter_ical_feed_items' ] ); | |
} | |
add_action( 'wp', 'tribe_remove_virtual_events_from_exports' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment