I want to, hopefully without a plugin, get and loop through all admin accounts and notify each admin when a comment has been posted or a user has registered, etc. I tried to look into this but all the solutions pointed to plugins and all the plugins are either bulky or outdated which totes sucks. Is there a nice little filter that someone knows about where I can hook into notifications and send the notification to each / every administrator?
Is there a nice little filter that someone knows about where I can hook into notifications and send the notification to each / every administrator?
There is :
Runs just after a comment is saved in the database. Action function arguments: comment ID, approval status ("spam", or 0/1 for disapproved/approved).
...allows you to access data for a new user immediately after they are added to the database. The user id is passed to hook as an argument.
As far as...
Does anybody have an idea of where I can look to find this answer or solve this problem?
And here, of course.