$productPage->slug()
Returns the slug of the page
$productPage->slug(null|string $languageCode = null): string
Parameters
| Name | Type | Default |
|---|---|---|
$languageCode |
null or string |
null |
Return type
string
Parent class
Wagnerwagner\Merx\ProductPage inherited from Kirby\Cms\Page