Skip to content

Instantly share code, notes, and snippets.

Embed
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 http://blackhillswebworks.com/?p=5108
*/
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
You can’t perform that action at this time.