Adding a WordPress Widget to a settings page
You would call: add_meta_box( $widget_id, $widget_name, $callback, $screen->id, $location, $priority ); Where the screen ID is obtained via: $screen = get_current_screen(); Then display each location e.g. : do_meta_boxes( $screen->id, ‘column3′, ” ); Here’s the dashboard function that displays the dashboard: function wp_dashboard() { global $screen_layout_columns; $screen = get_current_screen(); $hide2 = $hide3 = $hide4 = ”; … Read more