add parameters to the $callback function in wp_add_dashboard_widget
-
Is it possible to add parameters to the name of the callback function used in wp_add_dashboard_widget() function.
I have wp_add_dashboard_widget($widgetName, $widgetTitle, ‘widgetContent’, ‘widgetSetup’);
I need to pass some parameters to the widgetContent() function. How can this be done?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘add parameters to the $callback function in wp_add_dashboard_widget’ is closed to new replies.