Similar to isHooked() method but also checks parent classes for the hooked method as well
This method is designed for fast determinations of whether something is hooked
Usage
$bool = $hooks->isMethodHooked($class, string $method);
Arguments
Name | Type(s) | Description |
---|---|---|
class | string, Wire | |
method | string | Name of method |
Return value
bool
API reference based on ProcessWire core version 3.0.236