Hook into admin_notices after sending mail
This workaround is far from ideal, but it gets the job done. On $mail_sent == true set a post meta. In the __construct function add a callback to the admin_head action that checks whether the post meta has been set. If yes, delete the post meta and add the admin_notices action with the callback to … Read more