Hello Ash ,
Wow! That code looks heavy :). Thank you very much for your reply! Do you mind explaining how the code works once I put it in functions.php? And lets say that I want to send this notification: "There are new notices on the Noticeboard" to all Business users, how would I adjust the code?
Kind regards,
Mwale