Skip to content

Instantly share code, notes, and snippets.

@jesseeproductions
Created September 24, 2014 15:04
Show Gist options
  • Save jesseeproductions/fc7787cd5f4e73f39da5 to your computer and use it in GitHub Desktop.
Save jesseeproductions/fc7787cd5f4e73f39da5 to your computer and use it in GitHub Desktop.
Remove Tags from Description for Google Calendar Export in Events Calendar
add_filter( 'tribe_google_calendar_parameters', 'remove_tags_from_gcal_links' );
function remove_tags_from_gcal_links( array $params ) {
$params['details'] = urlencode( strip_tags( urldecode( $params['details'] ) ) );
return $params;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment