Removes the given item or index from the WireArray (if it exists).
Usage
$wireArray->remove($key);
Arguments
Name | Type(s) | Description |
---|---|---|
key | int, string, Wire | Item to remove (object), or index of that item, or (3.0.196+) selector string. |
Return value
$this
This instance.
WireArray methods and properties
API reference based on ProcessWire core version 3.0.236