title: Adding new menu page to dashboard
body: <p>I'm looking to use <code>add_menu_page</code> to add a new section to the WordPress dashboard. My only issue is where to put this code? I've looked around at several tutorials and frustratingly not one mentions where to add the code!</p>
  
  <p>If someone could tell me:</p>
  
  <ol>
  <li>Where to put your <code>add_menu_page</code> code and</li>
  <li>Where to register the function passed as a parameter to the <code>add_menu_page</code> function</li>
  </ol>
  
  <p>that would be greatly appreciated.</p>