Support

Home Forums Event Espresso Premium ORGANIZER in ics

ORGANIZER in ics

Posted: September 23, 2019 at 2:04 am

Viewing 1 reply thread


combiwel

September 23, 2019 at 2:04 am

Hi,

Is it possible to remove the ORGANIZER in an ics? Now, the organizer gets emails that someone refused the calendar event which, at least, in this case, is not their concern.

Thanks in advance.


Tony

  • Support Staff

September 23, 2019 at 9:54 am

Hi there,

The ics data is passed through a filter so you can change any of the details.

apply_filters('FHEE__EED_Ical__download_ics_file_ics_data', $ics_data, $datetime);

Are you familiar with using hooks?

$ics_data is a an assocaitve array where the key is the ics field and the value set is used for that field.

So hooking in and doing something like unset($ics_data['ORGANIZER']); will remove it from the ical for you.

Like so: https://gist.github.com/Pebblo/34563c93919e6600a61c4dc06d82a59c

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Viewing 1 reply thread

The support post ‘ORGANIZER in ics’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso