Last active
December 27, 2015 11:49
-
-
Save bhwebworks/7321079 to your computer and use it in GitHub Desktop.
This file contains 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
/** | |
* 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