Actions
Feature proposal #6224
closedImplement triggers
Description
Implement custom triggers so behavior can be fired specifically on reconfirmation.
Actions
Added by krileon over 8 years ago. Updated over 8 years ago.
Description
Implement custom triggers so behavior can be fired specifically on reconfirmation.
The following triggers will be available with release of 4.0.3.
$_PLUGINS->trigger( 'reconfirm_onBeforeCancel', array( &$user, &$reconfirmEmail, $confirmcode ) );
$_PLUGINS->trigger( 'reconfirm_onAfterCancel', array( $user, $reconfirmEmail, $confirmcode ) );
$_PLUGINS->trigger( 'reconfirm_onBeforeConfirm', array( &$user, &$reconfirmEmail, $confirmcode ) );
$_PLUGINS->trigger( 'reconfirm_onAfterConfirm', array( $user, $reconfirmEmail, $confirmcode ) );
The $reconfirmEmail object containers details like new email address and old email address.