[ad_1]
Hi,
I’m building an API for mobile app which needs to login to WP.
Can I find how WP hashed the password? so that I can do the same to the entered password on the phone and compare the encrypted values (for the record, the comparison will be done on the server and not the phone)
[ad_2]
If you’re comparing on the server anyway, just use the wp_signon method, and verify the user if the object returned is a WP_User
[https://developer.wordpress.org/reference/functions/wp_signon/])
Ok