Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #298430

    Exactly what it sounds like. We run a big site with many users and it’s very confusing for them when they log into their accounts to see the notice. I want to disable the notices altogether – from the child theme if at all possible. Thanks!

    #298544

    Hey!

    Try adding this at the very end of your theme functions.php file:

    function remove_tgmpa_message() {
    	echo "<style>#setting-error-tgmpa{ display: none; }</style>";
    }
    add_action('admin_head', 'remove_tgmpa_message');
    

    Cheers!
    Josue

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.