$hooks→allowPathHooks()
Get or set whether path hooks are allowed
Available since version 3.0.173.
Usage
// basic usage
$bool = $hooks->allowPathHooks();
// usage with all arguments
$bool = $hooks->allowPathHooks($allow = null);
Arguments
Name | Type(s) | Description |
---|---|---|
$allow (optional) | bool null |
Return value
bool
API reference based on ProcessWire core version 3.0.252