Tribe__Events__Pro__Main::add_recurring_occurance_setting_to_list()
Echo the setting for hiding subsequent occurrences of recurring events to frontend.
Old function name contained a typo ("occurance") – this fixes it without breaking anything where users may be calling the old function.
Return
(void)
Source
File: src/Tribe/Main.php
public function add_recurring_occurance_setting_to_list () { if ( tribe_get_option( 'userToggleSubsequentRecurrences', false ) && ! tribe_is_showing_all() && ( tribe_is_upcoming() || tribe_is_past() || tribe_is_map() || tribe_is_photo() ) || apply_filters( 'tribe_events_display_user_toggle_subsequent_recurrences', false ) ) { echo tribe_recurring_instances_toggle(); } }