Get or set the current ProcessWire instance
Available since version 3.0.125.
Usage
// basic usage
$processWire = wireInstance ();
// usage with all arguments
$processWire = wireInstance ($wire = null);
Arguments
Name | Type(s) | Description |
---|---|---|
wire (optional) | ProcessWire, Wire, null | To set specify ProcessWire instance or any Wire-derived object in it, or omit to get current instance. |
Return value
Functions methods and properties
API reference based on ProcessWire core version 3.0.236