Skip to content

Kirby 6.0.1

$defaultVisitor->function()

Processes global function

$defaultVisitor->function() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

$defaultVisitor->function(string $name, array $arguments = []): mixed

Parameters

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

Return type

mixed

Parent class

Kirby\Query\Visitors\DefaultVisitor