Tribe__Events__Community__Main::getOptions( bool $force = false )

Get all options for the plugin.


Parameters

$force

(bool) (Optional)

Default value: false


Top ↑

Return

(array) The current settings for the plugin.


Top ↑

Source

File: src/Tribe/Main.php

		public static function getOptions( $force = false ) {
			if ( ! isset( self::$options ) || $force ) {
				$options       = get_option( self::OPTIONNAME, array() );
				self::$options = apply_filters( 'tribe_community_events_get_options', $options );
			}
			return self::$options;
		}

Top ↑

Changelog

Changelog
Version Description
1.0 Introduced.