daily pastebin goal
9%
SHARE
TWEET

Untitled

a guest Jan 20th, 2017 165 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_action( 'password_reset', 'remote_password_update' );
  2. function remote_password_update( $user, $new_pass ) {
  3.  
  4.         $username = $user->user_login; //THIS WORKS PERFECTLY
  5.         $password = $new_pass; //THIS ALWAYS RETURNS NULL
  6.  
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top