I’m new to WordPress and trying to take advantage of the framework as much as possible. On the front end, I want a centralized message area to display error, success, and general notices similar to how they’re handled via admin_notices on the back end. I’m not seeing a similar hook for the front end.
I guess I’m asking which action should I be hooking into on the front end to mimic admin_notices?
There is no such action in the front end (in a theme) by default. Simply use a custom action like
and hook into this one.