$page->slug()
Returns the slug of the page
$page->slug(string|null $languageCode = null): string
Parameters
| Name | Type | Default |
|---|---|---|
| $languageCode | stringornull |
null
|
Return type
string
Parent class
Examples
<?= $page->slug() ?>