Whatsapp on airplane mode

Will whatsapp work while the device is on airplane mode but connected to wifi ? Will it work without the sim ?