$kirby->apply()
Applies a hook to the given value
Parameters
Name | Type | Default | Description |
---|---|---|---|
$name * | string |
– | Full event name |
$args * | array |
– | Associative array of named event arguments |
$modify * | string |
– | Key in $args that is modified by the hooks |
$originalEvent | Kirby\Cms\Event |null |
null |
Event object (internal use) |
Return type
mixed
|null