Adding content to fullCalendar.io event data
-
Hi,
I am trying to add the event content to the emCalendarArgs by using the ’em_calendar_event_data’ filter hook to include the content. However it never appears in the events object.// functions.php function add_event_description($val, $event) { $val['description'] = $event->post_content; return $val; } add_filter( 'em_calendar_event_data', 'add_event_description',10,2 );
Any guidance is much appreciated.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Adding content to fullCalendar.io event data’ is closed to new replies.