Add the given option titles for $field
Usage
$int = $selectableOptionManager->addOptions(Field $field, $options);
Arguments
Name | Type(s) | Description |
---|---|---|
field | Field | |
options | array, SelectableOptionArray |
Return value
int
Number of options added
SelectableOptionManager methods and properties
API reference based on ProcessWire core version 3.0.236