An open API service indexing awesome lists of open source software.

https://github.com/siteorigin/so-dev-examples

Some code examples for developer documentation.
https://github.com/siteorigin/so-dev-examples

Last synced: 4 months ago
JSON representation

Some code examples for developer documentation.

Awesome Lists containing this project

README

          

Developer docs code examples
===============

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](https://wordpress.org/plugins/so-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](http://codex.wordpress.org/Writing_a_Plugin#Names.2C_Files.2C_and_Locations). 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.