core_admin_bar ()

Core admin bar include.

Source file: app/functions/hook-function.php

View source


Used by


Source

function core_admin_bar()
{
    $app = \Liten\Liten::getInstance();

    $filename = APP_PATH . 'views/dashboard/core-admin-bar.php';

    if (!is_readable($filename)) {
        __return_false();
    }

    if (!$app->hook->has_filter('core_admin_bar')) {
        include ($filename);
    }
    return $app->hook->apply_filter('core_admin_bar', $filename);
}


Changelog

  • Since: eduTrac SIS 6.2.0

User Contributed Notes

You must log in before being able to contribute a note.