Skip to content

mc_ical_timezone

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

Filter TimeZone passed to DateTimeZone to set event timezone in iCal.

Auto-generated Example

add_filter(
   'mc_ical_timezone',
    function(
        string $tz_id,
        object $event
    ) {
        // Your code here.
        return $tz_id;
    },
    10,
    2
);

Parameters

  • string $tz_id Existing timezone identifier.
  • object $event Event object.

Returns

string

Files

apply_filters( 'mc_ical_timezone', $tz_id, $event )

← All Hooks

Clone this wiki locally