How to change a user’s password programatically

wp_set_password( $password, $user_id );

See reference for details.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)