/home/techb158/immovalet.com/vendor/botble/theme/helpers
Edit: /home/techb158/immovalet.com/vendor/botble/theme/helpers/helpers.php (2875B)
theme($themeName);
}
if ($layoutName) {
$theme->layout($layoutName);
}
return $theme;
}
}
if (!function_exists('theme_option')) {
/**
* @return \Botble\Theme\ThemeOption|string
*/
function theme_option($key = null, $default = '')
{
if (!empty($key)) {
try {
return ThemeOption::getOption($key, $default);
} catch (FileNotFoundException $exception) {
info($exception->getMessage());
}
}
return ThemeOptionFacade::getFacadeRoot();
}
}
if (!function_exists('theme_path')) {
/**
* @return string
*/
function theme_path($path = null)
{
return platform_path('themes' . DIRECTORY_SEPARATOR . $path);
}
}
if (!function_exists('admin_bar')) {
/**
* @return Botble\Theme\Supports\AdminBar
*/
function admin_bar()
{
return AdminBarFacade::getFacadeRoot();
}
}