Translations:Manual:Hooks/GetPreferences/7/en

The $section1 array key specifies which tab and section of $mypref contains your preferences. If your $section2 value is foo/bar, this means your preference will appear on the foo tab (named by system message $pref-foo) within the bar section (named by system message $prefs-bar). If no such tab or section exists, it is created automatically.