I’ve never heard of this, as far as I’m concerned they are reserved pins, but they do seemed to be used for buttons in the sketch.
You should probably read this:
You’re actually making it more complicated by sticking with the ESP8266 rather than the ESP32.
Pete.