Remove all messages, when untrash a post

As stated before, bulk messages output based on $bulk_counts variable and can’t be edited in admin_notices hook. This is strange, because they has their own html wrapping in wp-admin/edit.php without any actions and filters. So I dig deeper in WP core. $bulk_counts variable generating in the wp-admin/edit.php in this line: $bulk_counts = array( ‘updated’ => … Read more