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

NameTypeRequiredDescription
categorystringYesCategory name of the setting to get
settingstringYesName of the setting to get
defaultstringNo (default="")A default value to return should no value be saved for the setting