HookChoices object methods

The following list summarizes the HookChoices object methods:

Method name
Description
AddItem
Adds a new item to the list of choices created by a CHOICE_LIST hook.
AddItems
Adds a list of new items to the list of choices created by a CHOICE_LIST hook.
Sort
Sorts the entries in the choice list.