Support

Account

Home Forums General Issues User profile form: Update password? Reply To: User profile form: Update password?

  • I think something like that

    
    add_filter('acf/pre_save_post', 'my_update_password');
    function my_update_password($post_id) {
      if (substr($post_id, 0 , 5) != 'user_') {
        // not a user
        return $post_id;
      }
      // get value from input and update password
    }