Action
rpress_user_verification_token_expired
Fires when an account verification link is past its expiry time.
Runs in rpress_validate_user_verification_token() when the ttl query argument of the verification URL is earlier than the current time. It fires immediately before the request is ended with a 403 error page that links to a new verification request.
Example#
function my_log_expired_verification() {
error_log( 'Expired RestroPress verification link used.' );
}
add_action( 'rpress_user_verification_token_expired', 'my_log_expired_verification', 10, 0 );
Source#
Fired from:
includes/user-functions.php(line 769), inrpress_validate_user_verification_token()
See also#
Was this page helpful?
