You are here

function hook_email_confirm in Email Change Confirmation 7

Act on email change confirmation events.

This hook allows a module to respond to either the request to change an email or the actual click that changes the email.

Parameters

string $op: Either "email change" or "email confirmation".

int $uid: The user's uid.

string $old_mail: The user's old email.

string $new_mail: The user's new email.

2 invocations of hook_email_confirm()
email_confirm_user_change_mail in ./email_confirm.module
Menu callback; process one time email change confirm.
email_confirm_user_presave in ./email_confirm.module
Implements hook_user_presave().

File

./email_confirm.api.php, line 23
Document api for Email Change Confirmation module.

Code

function hook_email_confirm($op, $uid, $old_mail, $new_mail) {

  // Implement your feature here.
}