sinanisler logo

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