/** * Gets all settings * @static * * @param bool $force * * @return mixed|void */ public static function getOptions($force = false) { if (!isset(self::$options) || $force) { $options = get_option(self::OPTIONNAME, array()); self::$options = apply_filters('tribe_geoloc_get_options', $options); } return self::$options; }