(Advanced) Modifying a single Calendar event

Note: This document is intended for developers familiar with PHP. If you have a question, please ask support.

In 1.3.1, Calendar added the gravityview/calendar/events filter that allows modifying the events array passed to FullCalendar.

Using this filter, you can loop through each event and modify its properties. You can add any properties that are available on the FullCalendar Event Object.

Example code

A screenshot of a calendar with one decent-looking event and one event with red and yellow and blue…it's not pretty.This code will make hideous-looking calendar events, if that's what you want!

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.