Core
These are the core API’s that WordPress offers you to make your plugin more robust.
get_permalink memory usage issues
Every post that you call get_permalink for is added to the object cache (in memory). Now, if you’re doing a get_permalink call, 9 out of 10 times you’ll need to more of that post than just the permalink, so this isn’t really a problem. However, in some cases, especially when you do large quantities of [...]
Using a namespace for your functions and classes
An often made mistake by WordPress developers is to use to generic function and class names. For instance, if you’re building a plugin to do with YouTube, using a class name “Youtube” is bound to cause issues: if a user has multiple plugins dealing with Youtube, he or she could very well end up with [...]
WordPress HTTP API
Why you should want to know about the WordPress HTTP API? Well, some WordPress installs may have CURL installed for instance, others may not. On some installs you’re allowed to do file_get_contents to external URLs, on others you’re not. If you’re relying on these features to work, your plugin might not work for a lot [...]
