Dashboard Widgets API
Similar to the Sidebar Widget API implementation, you can now create a class with methods for a settings form and widget display. A sample widget is included.
Similar to the Sidebar Widget API implementation, you can now create a class with methods for a settings form and widget display. A sample widget is included.
- 01Upload dashboard-widget-api.php to the /wp-content/plugins/ directory
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
- 03Create your widget class and require it in your theme or via a plugin.