Plugin::meetings_enabled()

Returns whether meeting and conference support is enabled in the plugin or not.


Return

(bool) Whether meeting and conference support is enabled in the plugin or not.


Top ↑

Source

File: src/Tribe/Plugin.php

	public static function meetings_enabled() {
		// Allow meetings to be disabled using a constant.
		$enabled = defined( 'EVENTS_VIRTUAL_MEETINGS_ENABLE' )
			? EVENTS_VIRTUAL_MEETINGS_ENABLE
			: true;

		/**
		 * Filters whether to enable meetings support in the plugin or not.
		 *
		 * @since 1.0.0
		 *
		 * @param bool $enable_meetings Whether meetings and conference support is enabled in the plugin or not.
		 */
		return apply_filters( 'tribe_events_virtual_meetings_enabled', $enabled );
	}

Top ↑

Changelog

Changelog
Version Description
1.0.0 Introduced.