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