If you’re a web developer working in WordPress, chances are you use some of their internal functions pretty regularly. This site gives you an easy way to create the framework needed.
GenerateWP is an online generator for all kinds of functions used in WordPress. I’ve used it for many, many years, so far back I’m not sure when I started. It’s become a quick and easy way for me to write custom code and save time doing so.
The web site offers forms for creating these functions based on the info provided. You can also save your snippets and use them with other generators (i.e. a saved tax query or meta query can be referenced inside a wp query).
I’ve always used the free version, so I feel that there’s no need to pay for the premium service unless you run into a need for something more intricate. And, if that is the case, I would highly recommend doing so, as you would definitely be taking advantage of a high quality service.