The doc explains cleanly how to create a custom menu but it only does it using links for in the system.
$module_menu[] = Array(
//URL
"index.php?module=<module>&action=<action>",
//Label String
$mod_strings['LNK_EXAMPLE'],
//Image icon. Icons are found in ./themes/default/images.
'ExampleIcon',
//Module Name
'<module>'
);
but I want it to use an outside link instead so that when they click on the custom menu it goes somewhere else. I already tried using the “customCode” param from metadata but it didn’t work.