title: How to define the menu-title for a custom post type?
body: <p>I used <code>register_post_type()</code> to create custom post type.</p>
  
  <p>My problem is that the title of my first sub-menu item is the name of the post type. <strong>How can I define a custom title for the menu item?</strong></p>
  
  <pre><code>add_action( 'init', 'myofferlugin' );
  
  function myofferlugin() {
  
      $labels = array( 
          'name' =&gt; _x( 'My Plugin', 'offer' ),
          'singular_name' =&gt; _x( 'Meno one', 'offer' ),
          'add_new' =&gt; _x( 'Add New', 'offer' ),
          'menu_name' =&gt; _x( 'My Plugin', 'offer' )
      );
  
      $args = array( 
          'labels' =&gt; $labels,
          'hierarchical' =&gt; false,
          'supports' =&gt; array( 'title' ),
          'menu_icon' =&gt; plugins_url('images',  __FILE__).'/icon.png',
          'public' =&gt; true,
          'show_ui' =&gt; true,
          'show_in_menu' =&gt; true,
          'show_in_nav_menus' =&gt; true,
          'publicly_queryable' =&gt; true,
          'exclude_from_search' =&gt; false,
          'has_archive' =&gt; true,
          'query_var' =&gt; true,
          'can_export' =&gt; true,
          'rewrite' =&gt; true,
          'capability_type' =&gt; 'post'
      );
  
      register_post_type( 'offer', $args );
  }
  </code></pre>