Tribe__Events__Community__Main::getOptions( bool $force = false )
Get all options for the plugin.
Contents
Parameters
- $force
-
(bool) (Optional)
Default value: false
Return
(array) The current settings for the plugin.
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; }
Changelog
Version | Description |
---|---|
1.0 | Introduced. |