Skip to content

Kirby 6.0.0

$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