``` function so_remove_new_post_link() { global $wp_admin_bar; $wp_admin_bar->remove_node( 'new-post' ); // can be extended for other links in this submenu too: //$wp_admin_bar->remove_node( 'new-page' ); //$wp_admin_bar->remove_node( 'new-media' ); //$wp_admin_bar->remove_node( 'new-user' ); } add_action( 'admin_bar_menu', 'so_remove_new_post_link', 999 ); ```