WordPress Activation Key


This is how WordPress uses the new user ID and an MD5 hash to generate the activation key

$newuser_key = substr( md5( $user_id ), 0, 5 );

Leave a Reply

Your email address will not be published. Required fields are marked *