Update Frontend User Settings

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

 do_action('profile_magic_update_frontend_user_settings',$post,$user_id);

$post is an array of data associated with the user.

Simple example

function profile_magic_action_on_setting_change($post,$user_id)

{

//do something with the user-id when a user setting is updated on the profile page.

}

add_action('profile_magic_update_frontend_user_settings', 'profile_magic_action_on_setting_change');