Adding Custom CSS to wp-admin, dashboard only

I use this code a lot for hiding stupid notices, announcements, notifications, up-sells, update notifications…etc

// WP-ADMIN Custom CSS Register
function sinn_custom_css() {
  echo '<style>

	#toplevel_page_snippets{display:none}


  </style>';
}
add_action('admin_head', 'sinn_custom_css');


Leave the first comment

Hello 🖐 Welcome

I am planning a professional WordPress and Bricks Builder course. If you are Interested register to this newsletter.