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
| Name | Type(s) | Description |
|---|---|---|
$selector | string array Selectors |
Return value
$thisreference to current instance.
WireArray methods and properties
API reference based on ProcessWire core version 3.0.252