Returns full base url of the themes' directory.


  • Full name: theme_url
  • Defined in: cms/core/Shared/Helpers/theme.php

Parameters

Parameter Type Description
$path string Optional. Extra path appended to the end of the URL, including
the relative directory if $theme is supplied. Default empty.
$theme string Optional. A full path to a file inside a theme.
The URL will be relative to its directory. Default empty.
Typically, this is done by passing __FILE__ as the argument.

Return Value

string

Themes' URL link with optional paths appended.