Get URL for requested resource or module or get all URLs if no argument
Available since version 3.0.130.
Usage
// basic usage
$string = $config->urls();
// usage with all arguments
$string = $config->urls($for = '');
Arguments
Name | Type(s) | Description |
---|---|---|
for (optional) | string, Wire | Predefined ProcessWire URLs property or module name |
Return value
null
string
Paths
$config methods and properties
API reference based on ProcessWire core version 3.0.236