title: Removing the link on the Wordpress admin bar logo
body: <p>I've managed to replace the Wordpress icon/logo in the admin bar with a custom one in my functions.php file as well as removing the dropdown menu linking to Wordpress documentation, support forums, feedback etc. What i'm trying to do is to disable the link present on the logo that takes you to the About Wordpress page in the admin that explains the features of the version you currently are running.</p>
  
  <p>I'd like to do this from within the functions.php file. Is this possible?</p>
  
  <p>This is the code i have used so far:</p>
  
  <pre><code>    // Replace Wordpress logo with custom Logo
  function my_custom_logo() {
      echo '
      &lt;style type="text/css"&gt;
      #wp-admin-bar-wp-logo &gt; .ab-item .ab-icon:before {
          background-position: 0 0;
          content: url(' . get_bloginfo('stylesheet_directory') . '/assets/img/my-logo.png)!important;
          top: 2px;
          display: block;
          width: 15px;
          height: 20px;
          pointer-events: none!important;
          cursor: default;
      }
      #wp-admin-bar-wp-logo.hover &gt; .ab-item .ab-icon {
          background-position: 0 0;
      }
       &lt;/style&gt;
      ';
  }
  add_action('admin_head', 'my_custom_logo');
  add_action('wp_head', 'my_custom_logo');
  
  //disable a few items on the admin bar
  function remove_admin_bar_links() {
  global $wp_admin_bar;
  $wp_admin_bar-&gt;remove_menu('new-content');      // Remove the 'add new' button
  $wp_admin_bar-&gt;remove_menu('comments');         // Remove the comments bubble
  $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
  }
  add_action( 'wp_before_admin_bar_render', 'remove_admin_bar_links' );
  </code></pre>