option()
Shortcut for $kirby->option($key, $default)
option(string $key, mixed $default = null): mixed
Parameters
Name | Type | Default | Description |
---|---|---|---|
$key |
string |
– | |
$default |
mixed |
null |
Return type
mixed
Shortcut for $kirby->option($key, $default)
option(string $key, mixed $default = null): mixed
Name | Type | Default | Description |
---|---|---|---|
$key |
string |
– | |
$default |
mixed |
null |
mixed