forms_my_menu

Description

Hook into this action in order to add a new menu item (forms menu tab) to be accessed by any logged in user under myeduTrac self service portal.

Example

$app = \Liten\Liten::getInstance();

function custom_menu() {
    echo '<li><a href="'.get_base_url().'form/custom-menu/>'._t( 'Custom Menu' ).'</a></li>';
}
$app->hook->add_action('forms_my_menu', 'custom_menu');

Change Log

Since 6.1.05

Notes

The forms_my_menu action is useful for adding a link to an external resource or for adding a link to a custom route/router.

Source File

forms_my_menu hook is located in app/views/_layouts/myet/default.layout.php.