function _wp_dashboard_control_callback( $dashboard, $meta_box ) {}


  • $dashboard
  • $meta_box

Source code

function _wp_dashboard_control_callback( $dashboard, $meta_box ) {

	echo '<form action="" method="post" class="dashboard-widget-control-form">';

	wp_dashboard_trigger_widget_control( $meta_box['id'] );

	echo '<input type="hidden" name="widget_id" value="' . esc_attr($meta_box['id']) . '" />';

	submit_button( __('Submit') );

	echo '</form>';



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: