WireArray::not()

Filter this WireArray to only include items that DO NOT match the selector (destructive)

Example

// returns all pages that don't have a 'nonav' variable set to a positive value. 
$pages->not("nonav"); 

Usage

$wireArray->not($selector);

Arguments

NameType(s)Description
$selectorstring array Selectors

Return value

$this

reference to current instance.


WireArray methods and properties

API reference based on ProcessWire core version 3.0.251