WireArray::remove()

Removes the given item or index from the WireArray (if it exists).

Usage

$wireArray->remove($key);

Arguments

NameType(s)Description
$keyint 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.251