Hi screenrage,
To only remove that link from list view, you could use a snippet like this one (you might add it to your theme’s functions.php file, for instance):
add_filter( 'tribe_events_list_show_ical_link', 'list_view_remove_ical_link' );
function list_view_remove_ical_link( $show_remove ) {
if ( tribe_is_list_view() ) return false;
return $show_remove;
}
To remove it from all views you could do this instead:
add_filter( 'tribe_events_list_show_ical_link', '__return_false' );
I would like to completely disable that functionality not just simply remove the button.
To actually prevent an iCal feed from being supplied even if a user somehow crafts the correct URL manually, you could also add a snippet like this one:
if ( did_action( 'plugins_loaded' ) ) remove_ical_functionality();
else add_action( 'plugins_loaded', 'remove_ical_functionality', 200 );
function remove_ical_functionality() {
remove_action( 'tribe_tec_template_chooser', array( 'TribeiCal', 'do_ical_template' ) );
}
Does that help?