I'm a software developer who writes about Laravel, JavaScript, Rails, Linux, Docker, WordPress and the tech industry. Follow me on Twitter @tylerlwsmith
Nope, you definitely don't need to use an object-oriented programming approach for WordPress, though there are a few exceptions like the WP_Query object. I use this approach because it solved a pain point I was having with the functions file, but I only reach for OOP when it solves a problem that I'm having.
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.
Nope, you definitely don't need to use an object-oriented programming approach for WordPress, though there are a few exceptions like the WP_Query object. I use this approach because it solved a pain point I was having with the functions file, but I only reach for OOP when it solves a problem that I'm having.