Skip to content

Kirby 6.0.0

$page->dirname()

Returns the directory name (UID with optional sorting number)

$page->dirname(): string

Return type

string

Parent class

Kirby\Cms\Page

Examples

<?= $page->dirname() ?>