WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On this page: http://codex.wordpress.org/Function_Reference/wp_add_dashboard_widget

The function wp_add_dashboard_widget is described.

It states:

wp_add_dashboard_widget($widget_id, $widget_name, $callback, $control_callback = null)

How do you use the $control_callback, properly? I am completeley stuck, as I have defined it but cannot use it.

I need to create a form within this widget which is why I am using the control_callback.

EDIT: as a side note I am using Wordpress 3 and Multisite

share|improve this question
up vote 2 down vote accepted

Solution : hover on the title bar of your widget, then click configure

Don't ask me why this works like this but it does.

share|improve this answer

Do you need to handle form/input data? If not, then you can omit the $control_Callback, and simply use the $callback in order to display content.

share|improve this answer
yes, see edit: I do need input data, hence why I am using the control_callback... – Ash May 5 '11 at 17:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.