Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

DobsonDev WordPress Dashboard Widget Example

A simple plugin for illustrating how to use the WordPress Dashboard Widget API. The example provided is extremely simple - but for more information see the Codex pages on the Dashboard Widgets API and creating an Example Dashboard Widget. All of the code for this plugin was adapted from those pages as well as my own DobsonDev WordPress AJAX Tester plugin.

The dashboard widget created by this plugin provides an AJAX interface where you can call on your WordPress options table and display information about them based on their ID. The option ID, name, value and if it autoloads or not are all displayed in the table. As mentioned briefly above, the widget uses AJAX calls so you can check out as many options as you want without ever having to reload or leave the page.

The real point of this plugin is to look through the code and see how the WordPress dashboard widget API works with a real example. This plugin also demonstrates how AJAX in WordPress plugins works (which can also be seen in my DobsonDev WordPress AJAX Tester plugin).

To install simply add this folder to your plugins folder (most commonly located at '/wp-content/plugins/').

About

An example plugin that shows you how to use the Dashboard Widgets API

Resources

License

Releases

No releases published

Packages

No packages published