mc_filter_offset - joedolson/my-calendar GitHub Wiki
Filter timezone offset applied when displaying events. Can fix issues with an incorrect server time.
Auto-generated Example
add_filter(
'mc_filter_offset',
function( string $offset ) {
// Your code here.
return $offset;
}
);
Parameters
string$offsetTimezone offset format -HH:MM:SS.
Returns
string
Files
apply_filters( 'mc_filter_offset', $offset )