Skip to content

Kirby 5.0.4

$languageVariable->delete()

Deletes a language variable from the translations array. This will go through all language files and delete the key from all translation arrays to keep them clean.

$languageVariable->delete(): bool

Return type

bool

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

Parent class

Kirby\Cms\LanguageVariable