Skip to content

Kirby 5.0.4

$kirby->languageCode()

Returns the current language code

$kirby->languageCode(string|null $languageCode = null): string|null

Parameters

Name Type Default
$languageCode stringornull null

Return types

stringornull

This method modifies the existing $app object it is applied to and returns it again.

Parent class

Kirby\Cms\App