Don’t Nest Functions It appears to be a neat trick, but that is all it is. A hack that you should avoid and just because you can do it and it works does not give reason to do so. There are many … more →
Function DocumentationJacob Santos wrote 1 year ago: Don’t Nest Functions It appears to be a neat trick, but that is all it is. A hack that you sho … more →
Jacob Santos wrote 1 year ago: WordPress 2.5 adds the ability to register bbcode style formats in plugins for post content only. I … more →
Jacob Santos wrote 1 year ago: The WordPress Object Cache changed in WordPress 2.5 and removed a lot of file support from the code. … more →
Jacob Santos wrote 1 year ago: I think the central issue is that, plugin developers think writing an uninstaller is difficult, but … more →
Jacob Santos wrote 1 year ago: Don’t use Globals. Okay, so WordPress uses globals and that is okay, so why can’t you us … more →
Jacob Santos wrote 1 year ago: If you plugin is fairly simple and small, you can contain your plugin in one file and have translati … more →
Jacob Santos wrote 1 year ago: Objects should only contain a single purpose, but most plugins I’ve seen pack every method in … more →
Jacob Santos wrote 1 year ago: Prior to WordPress 2.3.0, there was a bug that prevented object referenced method callbacks from bei … more →
Jacob Santos wrote 1 year ago: This WordPress Plugin API feature is new to WordPress 2.5 and is quite interesting. Its application … more →
Jacob Santos wrote 1 year ago: WordPress 2.5 adds the ability to get the current hook name. This is useful for when you have a func … more →
Jacob Santos wrote 1 year ago: WordPress provides hooks for when the plugin is activated and deactivated. Some plugins will have lo … more →
Jacob Santos wrote 1 year ago: The only code that should be outside functions are the hooks into activate, deactivate, and init hoo … more →