FieldtypeOptions::deleteOptions()

Delete the given options

Usage

$int = $fieldtypeOptions->deleteOptions($field, SelectableOptionArray $options);

Arguments

NameType(s)Description
$field
$optionsSelectableOptionArray

Return value

int

Number of options added

Exceptions

Method can throw exceptions on error:

  • WireException


FieldtypeOptions methods and properties

API reference based on ProcessWire core version 3.0.252