L.C.
I agree with the response from Deb S. When my daughter was 5 yo she was wearing pull-ups to bed because she was wetting the bed. I went to see her doctor who told me to get rid of the pull-ups. She said she probably knows she has to go at night but doesn't have to because she has the pull-ups.
I got rid of the pull-ups. At first I would bring her to the bathroom when I went to bed but she wasn't fully awake most of the time so it didn't work. So, I just let her wet the bed and made her help me with all the clean up when she did. It took a few maybe a couple months of wetting the bed before she slept dry but it worked.
By the way later I found out she told a friend she had over for a sleep over before we got rid of the pull-ups that she should wear a pull-up to bed because then she wouldn't have to get up to use the bathroom.
Hope this helps. Good luck
L.