Skip to content

Kirby 4.1.2

$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