useRegionalSetting

useRegionalSetting(
  options?: RegionalSettingOptions,
  deps?: any[]): IRegionalSettingsInfo | null | undefined;

Returns site regional settings.

Examples

Get regional settings,

const regionalSettings = useRegionalSetting();

Parameters

NameTypeDescriptionTracked for changes
options?RegionalSettingOptionsuseRegionalSettings hook optionsPartially
deps?DependencyListHook dependency list.Yes