Working on a custom login page. I need to know how to hash the submitted password via the login form to match the password in the database.
$user_password = wp_hash_password( $_POST['user_password'] );
echo $user_password
This doesn't work. The output string for $user_password
varies every time the form is submitted.