Could you add a filter to the iCal venue / LOCATION field? Something like this in ical.php (line 150) would be great:
$venue = apply_filters( 'eventorganiser_ical_location', $venue );
I don’t need it for my current project, but maybe consider adding a filter on the event title / SUMMARY iCal field as well.
Thank you for the great plugin and awesome support!
Dan Brubaker
Hi Dan,
Apologies for the delay in replying to this. The ical.php
file is a template, which means you can copy into your theme and it will over-ride the plug-in one. This allows you to make any changes you require to the feed template without using filters (or losing our changes when you update the plugin).
Stephen Harris
I understand all that, but it would still be nice if you could add the $venue = apply_filters( 'eventorganiser_ical_location', $venue );
line into ical.php anyway. I would prefer NOT to have to copy a template file and clutter my child theme with it when it would only take 5 lines of code with the filter to accomplish what I want.
The event’s description already has a filter. It makes sense to me to go farther and add some more in – at least one for the venue.
Maybe there’s something I’m overlooking… Thank you for considering this!
Dan Brubaker
Sure, I’ll include this in the next release; just wanted to make you aware that you could modify the template too.
Stephen Harris