Is there a way to send the updated/added values from profile, when a member/user updates his/hers data, to the admin of the site or another emailadress?
Can this be the first step?
/* do something when user edits profile */
add_action('personal_options_update', 'notify_admin_on_update');
function notify_admin_on_update(){
// send a mail with the updated values to [email protected]
exit;
}
What is best pracice to send emails from within WordPress?