This topic contains 1 reply, has 2 voices. Last updated by Cathexis Technologies 4 years, 3 months ago.
| Topic Author | Topic |
|---|---|
| Posted: Wednesday Mar 28th, 2012 at 2:10 pm #9354 | |
|
Hi, I’m trying to add a hook that notifies via e-mail the user when an admin modifies the user’s role. I’d like to get a function to notify a user by email, so I should retrieve the information about the user’e-mail and pass it to wp mail() Just to start from somewhere, I tried to hook the wp’s function “update_user_option” inside the s2hacks.php to send an email with some random information to myself, while updating the logged admin profile, but with no luck.
Any help would be very much appreciated ! |
|








Pre-Sale FAQs
Video Tutorials
Community Forum
Knowledge Base
News/Updates
s2 Codex / Docs
GPL v2 License
Contact A Human
About Us
Our Customers
Support Policy
Privacy Policy
