Support

Home Forums Event Espresso Premium Disable iCalendar Icon in EE4

Disable iCalendar Icon in EE4

Posted: August 5, 2014 at 1:36 pm

Viewing 1 reply thread


Kevin Gordish

August 5, 2014 at 1:36 pm

I read previous forums.

“Go to Template Settings menu in the Event Espresso menu and change the option “Display an “Add to my Calendar” icon/link in the event templates?” to No.”

I am not seeing the add to my calendar question under the general settings template tab.


Josh

  • Support Staff

August 5, 2014 at 2:45 pm

Hi Kevin,

You can disable the icalendar icon in Event Espresso 4 by adding the following snippet to a custom function file:

add_action( 'template_redirect', 'my_remove_ical_link' );

function my_remove_ical_link() {
    remove_filter( 'FHEE__espresso_list_of_event_dates__datetime_html', array( 'EED_Ical', 'generate_add_to_iCal_button' ), 10 );
}
Viewing 1 reply thread

The support post ‘Disable iCalendar Icon in EE4’ 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