getSetting()
Overview
public string function getSetting(
required string category
, required string setting
, string default = ""
)
Returns a setting that has been saved. See Editable system settings for a full guide.
Arguments
Name | Type | Required | Description |
---|---|---|---|
category | string | Yes | Category name of the setting to get |
setting | string | Yes | Name of the setting to get |
default | string | No (default="") | A default value to return should no value be saved for the setting |