Tribe__Events__Pro__Main::add_recurring_occurrence_setting_to_list()

Echo the setting for hiding subsequent occurrences of recurring events to frontend.

Topics


Return #

(void)


Top ↑

Source #

File: src/Tribe/Main.php

		public function add_recurring_occurrence_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();
			}
		}