How to print ESP8266 Wifi IP address

// Print wifi IP addess
Serial.println("IP address: ");
Serial.println(WiFi.localIP());

Documentation for Wifi.localIP()