title: Adding a sub-menu to a custom post type
body: <p>I want to know how to add a new submenu for a custom post type in creating a wordpress plugin.
  What I have done for now, I've created a custom post type called 'funds'.</p>
  
  <pre><code>add_action( 'init', 'wnm_add_funds' );
  function  wnm_add_funds() {
  register_post_type('wnm_funds',
      array(
          'labels'        =&gt; array(
                                  'name'              =&gt; __( 'Funds' ),
                                  'add_new'           =&gt; __( 'Add New Fund' ),
                                  'add_new_item'      =&gt; __( 'Add New Fund' ),
                                  'edit_item'         =&gt; __( 'Edit Fund' )),
          'public'        =&gt; true,
          'has_archive'   =&gt; true,
          'menu_position' =&gt; 100
      )
  );
  </code></pre>
  
  <p>}</p>
  
  <p>This code adds a custom post type called 'Funds' and under it is two submenus ('funds','add new fund'). What I would like to do is to add new submenu under funds. Example I would like to add 'Fund Settings', so under funds there will be (funds,add new fund,fund settings).</p>
  
  <p>how would i do that?</p>