Skip to content

Kirby 4.5.0

$api->language()

Returns the language request header

$api->language(): string|null

Return type

string|null

Parent class

Kirby\Cms\Api