Custom Menu Option : Moodle
There is a really easy way of adding custom menu items to Moodle without using any additional code.
Under the “Custom menu items” field, enter menu items in the form of:
-Link Text|Link URL
For example, if we wanted to add a link to an external site such as Google, we could enter the following:
Google|https://www.google.com
Once finished, click the “Save Changes” button at the bottom of the page to apply the changes. The newly added links should now appear in the primary navigation bar in Moodle.