Filter: gk/gravitycalendar/ics-export/external-sources
Filters the external ICS sources before they are fetched for the calendar subscription export.
Return an empty array to prevent all external fetches. Remove specific entries to block individual feeds from being downloaded.
Parameters
| Name | Type | Description |
|---|---|---|
| $sources | array | Array of source arrays, each with 'url', 'format', and 'color' keys. |
| $feed | array | The calendar feed configuration. |
| $allowed_urls | array|null | The resolved list of external ICS URLs selected in the feed settings. Null when all URLs are allowed. |
Since
Source
Defined in includes/class-calendar-feed.php at line 4819