Returns true or 1 if change tracking is on, or false or 0 if it is not, or mode bitmask (int) if requested.
Usage
// basic usage
$int = $page->trackChanges();
// usage with all arguments
$int = $page->trackChanges(bool $getMode = false);
Arguments
Name | Type(s) | Description |
---|---|---|
getMode (optional) | bool | When true, the track changes mode bitmask will be returned |
Return value
int
0/false if off, 1/true if On, or mode bitmask if requested
API reference based on ProcessWire core version 3.0.236