$hooksallowPathHooks()

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

NameType(s)Description
$allow (optional)bool null

Return value

bool


$hooks methods and properties

API reference based on ProcessWire core version 3.0.252