WPCOM_VIP_Support_User::create_check_hash PHP 메소드

create_check_hash() 보호된 메소드

The hash sent in the email verification link is composed of the user ID, a verification code generated and stored when the email was sent (a random string), and the user email. The idea being that each verification link is tied to a user AND a particular email address, so a link does not work if the user has subsequently changed their email and does not work for another logged in or anonymous user.
protected create_check_hash ( integer $user_id, string $verification_code, string $user_email ) : string
$user_id integer The ID of the user to generate the hash for
$verification_code string A string of random characters
$user_email string The email of the user to generate the hash for
리턴 string The check hash for the values passed
    protected function create_check_hash($user_id, $verification_code, $user_email)
    {
        return wp_hash($user_id . $verification_code . $user_email);
    }