Wordpress hook/event/action for when a users updates it's email address
Is there any hook/event/action/method that fires when a user updates it's email address? I need to do certain actions from my plugin when a user updates it's email address. Is there a way to check for that from my plugin witho开发者_运维百科ut altering Wordpress's core?
There's not a lot of information out there, but I think your best bet might be writing a custom function and use the profile_update hook to compare old data with new. If the current email is different than the old, you've got your solution.
Edit: Link to WordPress' Documentation
精彩评论