Tribe__Events__Community__Tickets__Main::get_options( bool $force = false )
Get all options for the plugin.
Topics
Parameters #
- $force
-
(bool) (Optional)
Default value: false
Return #
(array) The current settings for the plugin.
Source #
File: src/Tribe/Main.php
public static function get_options( $force = false ) { if ( ! isset( self::$options ) || $force ) { $options = get_option( self::OPTIONNAME, [] ); /** * Filter a the plugin options after retrieval from the database * * @since 4.6.2 * * @param array $options The unserialized values. */ self::$options = apply_filters( 'tribe_community_events_tickets_get_options', $options ); } return self::$options; }
Changelog #
Version | Description |
---|---|
4.6.2 | Introduced. |