/home/techb158/immovalet.com/platform/packages/page/helpers
Edit: /home/techb158/immovalet.com/platform/packages/page/helpers/helpers.php (1199B)
getFeaturedPages($limit);
}
}
if (!function_exists('get_page_by_slug')) {
/**
* @param string $slug
* @return mixed
*/
function get_page_by_slug($slug)
{
return app(PageInterface::class)->getBySlug($slug, true);
}
}
if (!function_exists('get_all_pages')) {
/**
* @param boolean $active
* @return mixed
*/
function get_all_pages($active = true)
{
return app(PageInterface::class)->getAllPages($active);
}
}
if (!function_exists('register_page_template')) {
/**
* @param array $templates
* @return void
*/
function register_page_template(array $templates)
{
Template::registerPageTemplate($templates);
}
}
if (!function_exists('get_page_templates')) {
/**
* @return array
*/
function get_page_templates()
{
return Template::getPageTemplates();
}
}