title: How do I get rid of the comments dropdown in the WordPress dashboard?
body: <p>The code below removes everything I want except for the comments dropdown.</p>
  <p><a href="https://i.stack.imgur.com/keRMN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/keRMN.png" alt="enter image description here" /></a></p>
  <p>That pesky little icon just won't go away. Is there another method?</p>
  <pre><code>// Remove Admin bar links
  function remove_admin_bar_links() {
      global $wp_admin_bar;
      $wp_admin_bar-&gt;remove_menu('wp-logo');          // Remove the Wordpress logo
      $wp_admin_bar-&gt;remove_menu('about');            // Remove the about Wordpress link
      $wp_admin_bar-&gt;remove_menu('wporg');            // Remove the Wordpress.org link
      $wp_admin_bar-&gt;remove_menu('documentation');    // Remove the Wordpress documentation link
      $wp_admin_bar-&gt;remove_menu('support-forums');   // Remove the support forums link
      $wp_admin_bar-&gt;remove_menu('feedback');         // Remove the feedback link
      $wp_admin_bar-&gt;remove_menu('comments');         // Remove the comments link
      $wp_admin_bar-&gt;remove_menu('new-content');      // Remove the content link
  }
  add_action( 'wp_before_admin_bar_render', 'remove_admin_bar_links' );
  </code></pre>