I have this old and unused hole that I believe was for an outlet or a light switch (bought a house with this capped with plastic). I also have a few old phone Jacks. I plan on removing the phone Jacks and patching the drywall in that hole. I thought of doing the same for this outlet but I remember reading somewhere that doing so would be against code. I can't seem to find that information this time around.

[![enter image description here](https://i.stack.imgur.com/b4qI9.jpg)](https://i.stack.imgur.com/b4qI9.jpg)

<https://imgur.com/gallery/faBYUZG>

Thanks everyone! I'm just going to cover it up. It's not worth the effort for me to trace out the wires and try to disconnect them. Appreciate everyone's feedback

Would patching the drywall here be an option? Or is covering it with a removable plastic cover the only option?