Dashboard Widgets Generator

Overview

Use this tool to create custom code for Dashboard Widgets with wp_add_dashboard_widget() function.

Usage

  • Fill in the user-friendly form.
  • Click the “Update Code” button.
  • Copy the code to your project.
  • Or save it as a snippet and share with the community.

Examples

If you are still learning how to use this tool, check out the following examples:

The class name used in the code.
Translation file Text Domain. Optional.
ID used in the code identifying the widget.
The title that will be displayed in its heading.
The function that displays the widget content.
The function that handles widget submission.
Arguments array passed to the callback function.
Custom code that displays the widget content.
Custom code that handles widget submission.

You must be logged in and have an active premium membership to use this generator.

Login     Join