user_request_action_confirmed

ACTION wp-login.php (ligne 1277) github
Fires an action hook when the account action has been confirmed by the user. Using this you can assume the user has agreed to perform the action by clicking on the link in the confirmation email. After firing this action hook the page will redirect to wp-login a callback redirects or exits first.

Paramètres

Entrée :
$request_id
Sortie :
@param int $request_id Request ID.

Utilisation

// Ajouter une fonction au hook action 'user_request_action_confirmed'
add_action('user_request_action_confirmed', 'ma_fonction_personnalisee', 10, 1);

function ma_fonction_personnalisee($request_id) {
    // Votre code ici
    error_log('Hook user_request_action_confirmed déclenché');
}

Actualités

Chargement des actualités...