Wordpress - Remove Comments count from admin bar
function isl_admin_bar_render() { global $wp_admin_bar; $wp_admin_bar->remove_menu('comments'); } add_action( 'wp_before_admin_bar_render', 'isl_admin_bar_render' );