You may have heard that adding actions or filters to your WordPress class constructor is not a good idea when creating a theme or plugin. Yes? Quick side note! Isn’t it annoying when someone mentions something isn’t a good idea, but doesn’t explain why? Yea I think so too. So let me explain why and […]
Writing unit tests can take time and be painful. However, the short and long term benefits of having a well tested WordPress plugin codebase outweighs the cost of writing the tests. In this article I explain how.