How do I create a menu item when a node is submitted? I have created a new content type and want to add a menu item every time a user creates a new node for this content type.  I can catch the submission using hook_node_submit, but I don't know how to add it to a menu from there.
Try using the menu_link_save function.

&lt;?php
$item = array(
  'link_path' =&gt; 'node/' . $node-&gt;nid,
  'link_title' =&gt; $node-&gt;title,
);
menu_link_save($item);
?&gt;