Code snippet: Set the ranges for Calendar and Calendar List

The following code snippet ( written as an installable plugin ) filters the valid ranges for the next/prev keys of the calendar and calendar list views to plus of minus 5 month.

Was this helpful?