Skip to content

Kirby 5.3.2

$events->trigger()

Runs the hook without modifying the arguments

$events->trigger(string $name, array $args = [ ]): void

Parameters

Name Type Default
$namerequired string no default value
$args array [ ]

Parent class

Kirby\Cms\Events