Return an array of properties that have changed while change tracking was on.
Example
// Get an array of changed field names
$changes = $page->getChanges();
Usage
// basic usage
$array = $wire->getChanges();
// usage with all arguments
$array = $wire->getChanges(bool $getValues = false);
Arguments
Name | Type(s) | Description |
---|---|---|
getValues (optional) | bool | Specify one of the following, or omit for default setting.
|
Return value
array
API reference based on ProcessWire core version 3.0.236