2 improved formatting
source | link

Since you are using Entity wrapper, you must use $entity->save$entity->save to save your updated user object.In In your case,use $wrapper->save use $wrapper->save.

user_save can be used if user is load using user_load api.

Since you are using Entity wrapper, you must use $entity->save to save your updated user object.In your case,use $wrapper->save.

user_save can be used if user is load using user_load api.

Since you are using Entity wrapper, you must use $entity->save to save your updated user object. In your case, use $wrapper->save.

user_save can be used if user is load using user_load api.

1
source | link

Since you are using Entity wrapper, you must use $entity->save to save your updated user object.In your case,use $wrapper->save.

user_save can be used if user is load using user_load api.