Returns the current's site host- / domain-name
Syntax
siteHost(): string
Return
Returns the current's site host- / domain-name.
Examples
Writing in your twig source code:
Path, as array:
{% set host = hublify.siteHost() %}
Returns the current's site host- / domain-name
siteHost(): string
Returns the current's site host- / domain-name.
Writing in your twig source code:
Path, as array:
{% set host = hublify.siteHost() %}