Tribe__Events__Tickets__Eventbrite__Main::get_recurring_event_message()

Add a message under the Event Series metabox in Pro to warn they are not supported

Contents


Source

File: src/Tribe/Main.php

		public function get_recurring_event_message() {

			if ( is_admin() && class_exists( 'Tribe__Events__Pro__Main' ) ) {
				$bumpdown = __( 'Registering a recurring event series is not recommended with Eventbrite. Only the first event in the series will be registered. Please configure your events carefully.', 'tribe-eventbrite' );
				?>
				<tr class="tribe-recurrence-eventbrite-message">
					<td colspan="2" class="tribe-eb-warning">
						<p>
							<?php esc_html_e( 'Recurring Events are not supported with Eventbrite', 'tribe-eventbrite' ); ?>
							<span class="dashicons dashicons-editor-help tribe-bumpdown-trigger"
							      data-bumpdown="<?php echo esc_attr( $bumpdown ); ?>"
							      data-bumpdown-class="eventbrite"></span>
						</p>
					</td>
				</tr>
				<?php
			}
		}

Top ↑

Changelog

Changelog
Version Description
4.4.7 Introduced.