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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)