WireSaveableItems::getFresh()
Load and return a fresh instance of an item from the database, bypassing any cache
The returned item is not added to any collection or cache.
Available since version 3.0.267.
Usage
$saveable = $wireSaveableItems->getFresh($key);Arguments
| Name | Type(s) | Description |
|---|---|---|
$key | int string | Item ID (int) or name (string) |
Return value
Saveable nullReturns the item or null if not found
WireSaveableItems methods and properties
API reference based on ProcessWire core version 3.0.268