Remove ical feed link from header

Home Forums Calendar Products Events Calendar PRO Remove ical feed link from header

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1163225
    Beau
    Participant

    How would I go about removing this from the header ?

    <link rel=”alternate” type=”text/calendar” title=”iCal Feed” href=”https://www.website.com/events/?ical=1&#8243; />

    I found this post and tried it in my functions.php but it didn’t work.

    #1163642
    Cliff
    Member

    Hi Beau.

    I appreciate you linking to the other forum thread. In our latest versions of The Events Calendar, please try this code instead:

    remove_action( 'wp_head', array( 'Tribe__Events__iCal', 'set_feed_link' ), 2,  0 );

    Please let me know if you have any follow-up questions on this topic.

    #1163643
    Beau
    Participant

    Thank you so much. That worked!

    #1163662
    Cliff
    Member

    Excellent! Have a great week.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Remove ical feed link from header’ is closed to new replies.