WDT & Software RESET in ESP8266 + Arduino IDE
Software reset in ESP8266 is achieved using ESP.reset()

as per WDT, the other answer has info on that, i.e. software WDT is cleared using yield() - hardware WDT is not accessible through software