Advanced OOP For WordPress Part 3: Unit Testing For WordPress REST API Plugins
This post is part of a series of posts on extending the WordPress REST API using advanced object-oriented PHP. In the first post, I showed you how to use three filters to modify the schema of any post type route. Using an object-oriented approach is more complex, and takes more work than using functional programming …