Skip to content

Kirby 5.1.2

$assets->url()

Get the base URL for all assets depending on dev mode

$assets->url(): string

Return type

string

This method modifies the existing $assets object it is applied to and returns it again.

Parent class

Kirby\Panel\Assets