Advanced OOP For WordPress Part 7: Refactoring Is An Opportunity To Adopt Test-Driven Development
So far in this series on writing WordPress plugins using object-oriented PHP, I’ve focused mainly on testing. This is because a key advantage of object-oriented PHP is that it can be written in a way that is both highly testable and highly reusable. Just using classes doesn’t magically give us this We’ve also not written …