Overview
WordPress itself is not fully built using Object-Oriented Programming (OOP); it primarily relies on procedural PHP. However, to provide more flexibility and maintainability in our projects, we’ve implemented several core functions using OOP principles.
These classes include custom cron jobs, custom API endpoints, and the registration of custom post types and taxonomies. This structured approach allows us to scale features more easily, improve code readability, and keep business logic decoupled from the theme or plugin layer.
On next chapter we are going to dig more about this topic.