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