hardcode
verbUK /ˌhɑːdˈkəʊd/
US /ˌhɑːrdˈkoʊd/
To put a fixed value directly into a computer program so it cannot change.
The programmer decided to hardcode the password into the script.
RELATED WORDS
OTHER MEANINGS
2. To make something fixed and unable to be adjusted.
Don't hardcode the dates; let the user choose them.
3. To write data directly into a system instead of reading it from a source.
They hardcoded the server address in the app.
4. To set a value permanently in hardware or firmware.
The device's serial number is hardcoded at the factory.