Changeset 25454
- Timestamp:
- 09/16/2013 06:06:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r25441 r25454 147 147 } 148 148 149 function wp_add_dashboard_widget( $widget_id, $widget_name, $callback, $control_callback = null ) {149 function wp_add_dashboard_widget( $widget_id, $widget_name, $callback, $control_callback = null, $callback_args = null ) { 150 150 $screen = get_current_screen(); 151 151 global $wp_dashboard_control_callbacks; … … 178 178 $priority = 'high'; 179 179 180 add_meta_box( $widget_id, $widget_name, $callback, $screen, $location, $priority );180 add_meta_box( $widget_id, $widget_name, $callback, $screen, $location, $priority, $callback_args ); 181 181 } 182 182
Note: See TracChangeset
for help on using the changeset viewer.