Update Email on Profile

This action runs when a user updates his/her email from the profile page at the front end.

 do_action('pg_update_setting_during_email_change',$uid,$user_email);

Simple example

function profile_magic_action_on_email_change($uid,$user_email)

{

//do something with the user id or email when a user account updates email on the profile page.

}

add_action('pg_update_setting_during_email_change', 'profile_magic_action_on_email_change');