Assistance with Code to Control 4 Relays with Wireless Remote

It's more usual to set the pin mode then write to the pin, otherwise you're just disabling pullups on input pins

Code tags would be good too.

What's the four channel latching wireless thingy?