Get the filesystem directory path (with trailing slash) for the theme FILE passed in.


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

Parameters

Parameter Type Description
$filename string|null The filename of the theme (FILE).

Return Value

string

The filesystem path of the directory that contains the theme.