Magento 2 admin notifications can be very annoying. This cron will run every hour and remove all unread messages.
* = in production please use the --keep-generated option
- Unzip the zip file in
app/code/ShopWhizzy/AutoRemoveAdminNotifications - Enable the module by running
php bin/magento module:enable ShopWhizzy_AutoRemoveAdminNotifications - Apply database updates by running
php bin/magento setup:upgrade* - Flush the cache by running
php bin/magento cache:flush
- Install using Composer.
composer require shopwhizzy/module-autoremoveadminnotifications
php bin/magento module:enable ShopWhizzy_AutoRemoveAdminNotifications
php bin/magento setup:upgrade
- Cronjob
- shopwhizzy_autoremoveadminnotifications_removeadminmessages
- developed by ShopWhizzy.com