Filter: gk/gravitycalendar/secret/allow-legacy
Whether to accept a calendar's previous secret, from before the per-site key.
It is the same on every site, so by default it is accepted only for calendars secured before the key, and only outside post content or in a post a calendar editor last saved or no one has changed since.
Parameters
| Name | Type | Description |
|---|---|---|
| $allow_legacy | bool | Whether to accept the previous secret. Default: true only in the cases above. |
| $feed | array | The calendar feed. |
Since
- $ver$: $ver$
Source
Defined in includes/class-calendar-feed.php at line 7647