title: Add new nav menu item in WordPress programmatically
body: <p>I want to add new nav menu item and in the same time create new page, so my questions are:  <br><br>
  Is it enough to use <code>wp_update_nav_menu_item()</code> to create new page and new item in existing nav menu?<br>
  And if that's true can I use <code>wp_delete_post()</code> to delete that new page and nav menu item that leads to that page?</p>