/Filter the Event Organiser plugin to use your WordPress General Settings timezone
Last active Dec 27, 2015
/** | |
* 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