Action: um_before_user_hash_is_changed

do_action( 'um_before_user_hash_is_changed', $user_id )

Fires before user activation link hash is generated.

Parameters:
Name Type Description
$user_id int

User ID. Since 2.8.7

Since:
  • 2.8.7 Added $user_id
Source:

do_action( 'um_before_user_hash_is_changed', $user_id, $hash, $expiration )

Fires after user activation link hash is changed.

Parameters:
Name Type Description
$user_id int

User ID. Since 2.8.7.

$hash string

Activation link hash. Since 2.8.7.

$expiration int

Expiration timestamp. Since 2.8.7.

Since:
  • 2.8.7 Added $user_id, $hash, $expiration
Source: