New answers tagged best-practices
11
The API you offer in a plugin or a theme depends on the logic of that specific code. There is probably no guide that applies to all situations.
I am a contributor for multiple plugins with APIs, and what I have learned so far is:
Do not offer an API until you really know how people use your code.
Release the first two or three versions without any API. ...
2
While I agree with Justin Tadlock on a lot of things, I strongly disagree with him on this.
The reason parent/child themes exist is that there's a lot of common functionality used across websites. Instead of re-inventing the wheel every time, it's better to build from a solid base that has been tested by hundreds of developers and used on tens of thousands ...
Top 50 recent answers are included