Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Filter Event Organiser to use the timezone set in WordPress settings
* Uses a filter hook found in includes/class-eo-ical-parser.php
* @link
add_filter( 'eventorganiser_ical_timezone', 'bhww_eo_set_timezone' );
function bhww_eo_set_timezone( $tz ) {
$tz = eo_get_blog_timezone();
return $tz;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment