Description
...
mixedstring home( [string $app_id] )
...
Returns the sites home URL .or Apps URL
Examples
...
Code Block | ||
---|---|---|
| ||
// Prints the sites URL
echo home();
// Prints the apps URL
echo home('Sample');
// Used in HTML templates
{{ home() }} |