I think it’s easy to stumble in to monkey patching. I remember building a WordPress template once, and I couldn’t figure out how to change something specific — something that wasn’t immediately obvious from googling. A senior recommended I just search all the files in the source code for the string that made it up, and change it. I was just a junior, but it felt dirty to wrestle in the source code, even though I didn’t have any idea of how to accomplish the thing I wanted.
Of course nowadays I realize there’s a hook in WordPress for nearly everything.
Yep, that can be a bit overwhelming if you're not used to it. Sifting through a ton of code for a specific thing is too much for those doing it for the first time.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think it’s easy to stumble in to monkey patching. I remember building a WordPress template once, and I couldn’t figure out how to change something specific — something that wasn’t immediately obvious from googling. A senior recommended I just search all the files in the source code for the string that made it up, and change it. I was just a junior, but it felt dirty to wrestle in the source code, even though I didn’t have any idea of how to accomplish the thing I wanted.
Of course nowadays I realize there’s a hook in WordPress for nearly everything.
Yep, that can be a bit overwhelming if you're not used to it. Sifting through a ton of code for a specific thing is too much for those doing it for the first time.