Select Page

Most premium themes ask you to install additional plugins however if you dont install all of the plugins it recommends and keep them activated you will see a warning at the top of the admin area which comes back even if you close it.

If you add this code to your functions file it will hide the box. You might need to change the id of setting-error-tgmpa however on two sites I am building this is the same id.

<?php 
//hide update notifications
add_action('admin_head', 'my_custom_fonts');
function my_custom_fonts() {
  echo '<style>
    #setting-error-tgmpa {
			display:none;      
    }
  </style>';
}
?>