Urm yea sure, sorry I just copied it from the menus.php

https://github.com/anchorcms/anchor-cms/blob/master/anchor/functions/menus.php