Skip to content

Instantly share code, notes, and snippets.

@rafaehlers
Created March 27, 2020 23:23
Show Gist options
  • Save rafaehlers/3c75b4953f5ac17483e95cc248de8dd2 to your computer and use it in GitHub Desktop.
Save rafaehlers/3c75b4953f5ac17483e95cc248de8dd2 to your computer and use it in GitHub Desktop.
// GravityView Calendar add-on - Prevent time from being displayed in the Calendar
<?php // DO NOT COPY THIS LINE
function gv_calendar_remove_time_display( $calendar_options ){
$calendar_options['displayEventTime'] = false; // Disable displaying of time
return $calendar_options;
}
add_filter('gravityview/calendar/options', 'gv_calendar_remove_time_display', 10, 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment