$hooksisPropertyHooked()

Similar to isHooked() method but also checks parent classes for the hooked property as well

This method is designed for fast determinations of whether something is hooked

Usage

$bool = $hooks->isPropertyHooked($class, string $property);

Arguments

NameType(s)Description
$classstring Wire
$propertystring

Name of property

Return value

bool


$hooks methods and properties

API reference based on ProcessWire core version 3.0.252