export button

Home Forums Calendar Products Events Calendar PRO export button

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1030849
    kortris
    Participant

    can i disable the export button drom the bottom of the events page?

    thank you in advance

    #1030921
    Barry
    Member

    Hi Koro,

    That’s certainly possible with a small customization. Try adding this to your theme’s functions.php file, or else to a custom plugin:

    add_action( 'wp', 'remove_ical_event_links' );
    
    function remove_ical_event_links() {
    	remove_filter( 'tribe_events_after_footer', 'Tribe__Events__iCal::maybe_add_link', 10 );
    	remove_action( 'tribe_events_single_event_after_the_content', 'Tribe__Events__iCal::single_event_links' );
    	remove_action( 'tribe_tec_template_chooser', 'Tribe__Events__iCal::do_ical_template' );
    	remove_filter( 'tribe_get_ical_link', 'Tribe__Events__iCal::day_view_ical_link', 20 );
    	remove_action( 'wp_head', 'Tribe__Events__iCal::set_feed_link', 2 );
    }

    Does that help?

    #1030929
    kortris
    Participant

    This reply is private.

    #1030931
    kortris
    Participant

    This reply is private.

    #1030933
    kortris
    Participant

    ok i have solve the “problem”. Thank you again

    #1030947
    Barry
    Member

    Hi Koro,

    Glad you solved it! I’ll go ahead and close this topic.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘export button’ is closed to new replies.