Some code examples for developer documentation.
Here we will demonstrate various developer related concepts.
These examples are meant to demonstrate how a WordPress plugin developer may use the SiteOrigin Widgets Bundle plugin as a framework for creating widgets. As such, they do not function as independent plugins, but rather as an extension of the Widgets Bundle plugin. That means the Widgets Bundle plugin must be installed and activated for these examples to work.
The so-dev-examples folder is not a plugin itself, but rather a container for a collection of individual example plugins. Currently, the collection consists of only two example plugins, but we will add to these in future.
Inside so-dev-examples, the plugin folders each have the familiar plugin structure as put forth by WordPress here. If you copy any one of these folders into your plugins folder you should see the example widgets, assuming you have installed and activated the Widgets Bundle plugin.