Custom plugin settings: clicking “save changes” does not display success message

I had the same issue as you did, but I found how to fix it in this tutorial:

https://digwp.com/2016/05/wordpress-admin-notices/

Basically, I had my settings page outside of the Settings menu, so I had to explicitly add settings_errors() to my options page and they started working. 🙂

Hope that helps.

Leave a Comment