Skip to main content

Filter: gk/gravitycalendar/ics-export/cache/enabled

Filters whether generated calendars are written to disk.

With this false, every subscription request rebuilds the calendar, as the plugin did before the stored copy existed. See the method docblock for the trade-off and for per-feed examples.

Parameters​

NameTypeDescription
$enabledboolWhether the generated calendar may be stored. Default true.
$feed_idintFeed being generated.

Since​

  • 2.21.0

Source​

Defined in includes/class-calendar-feed.php at line 5714