title: Removing WordPress Navigation menu
body: <p>I'd like to remove all nav menus registered with <code>register_nav_menu</code> or similar functions. Can someone help me with this? This is what I've tried.</p>
  
  <pre><code>public static function _modify_template(){
      global $_wp_registered_nav_menus;
      $_wp_registered_nav_menus = array();
  }
  add_action('wp', array(__CLASS__, '_modify_template'));
  </code></pre>
  
  <p><code>wp_delete_nav_menu</code> doesn't work either, though I'm pretty sure at was meant for <code>wp_create_nav_menu</code>, not <code>register_nav_menu</code>.</p>
  
  <p>Thank you!</p>