Skip to content

Kirby 4.5.0

$pages->key()

Returns the current key

$pages->key(): string|int|null

Return type

string|int|null

Parent class

Kirby\Cms\Pages inherited from Kirby\Toolkit\Iterator