You’re right – it doesn’t. Neither does the wp_add_dashboard_widget function. So just use the generic add_meta_box and indicate dashboard and placement:
add_action( 'wp_dashboard_setup', 'my_dashboard_setup_function' );
function my_dashboard_setup_function() {
add_meta_box( 'my_dashboard_widget', 'My Widget Name', 'my_dashboard_widget_function', 'dashboard', 'side', 'high' );
}
function my_dashboard_widget_function() {
// widget content goes here
}
Related Posts:
- WordPress 3.8 – Dashboard 1 Column Screen Options
- Extend WordPress 3.8 Site Activity Dashboard Widget to include more comments
- Indexes of widgets instances starts with ‘2’ in ‘wp_options’ table
- Embed iframe or html page into dashboard widget
- Storing custom dashboard widget options in wordpress
- How to Remove All Widgets from Dashboard?
- How to use control_callback when creating a widget via functions.php or plugin?
- Reorder dashboard widgets
- How do I use the control callback when creating a simple dashboard plugin
- How to Make a Custom Dashboard Widget to Display Custom Notification from Admin?
- Add a banner to the Dashboard
- Different rss feeds in a single dashboard widget
- How do I pass arguments to dashboard widget callback functions?
- Add new section to “Right Now” widget
- add widgets to dashboard for easy access for clients?
- wp_count_posts, wp_count_terms and wp_count_comments for specific user?
- Widgets not expanding on wordpress 3.3 widget dashbord
- Replace dashboard widgets with banner ad
- Custom dashboard widget search box
- Hide all Dashboard Widgets (not remove)
- wp_editor is not rendering shortcode
- Dashboard Widgets – Add Admin Page With Same Functionality
- Custom User Field in Dashboard Widget
- How to make a can’t hide widget?
- Create widget in dashboard displaying a custom user field?
- Fire on widgets_init only on dashboard
- RSS dashboard widget not showing visuals
- How to create a dashboard widget for one user
- Grabbing how Many Posts by Month for a Dashboard Widget
- Dashboard Widget drawn before opening HTML tag
- Remove “Content” and “Discussion” from Right Now Dashboard Widget
- Create Dashboard Widget with form to keep team’s record
- modifying title (in dashboard) for different widget instances
- Adding a single text input field to a custom Dashboard widget
- Adding dashboard widgets to show – custom post type stats, information from other plugins
- Change number of widget columns in dashboard?
- Allow users to give a dashboard widget a custom name using ACF
- Quick Draft widget in weird place on dashboard after being re-added
- A message to clients in the dashboard widget received from another site
- Set a dashboard widget to the top?
- Array showing all values of loop instead of specific value to post
- How can I add a widget area to the top of the Dashboard?
- How to customize WordPress dashboard for different users?
- Can I use wp_widget_rss_output to show my site’s feed in the dashboard?
- WordPress version quick check?
- Registered widget is showing up collapsed in the dashboard
- can’t edit widgets after moving from subfolder to root
- Taxonomies not showing in WP Dashboard Right Now widget
- How to make custom dashboard widget to display alert in front-end?
- How to show WordPress Dashboard Widgets on Frontend?
- class WP_Widget – Different dashboard preview for custom widget
- Unable to add options on dashboard widget ?
- Custom dashboard widget – load style only for added widget
- How to add the “page” post type to Recent Activity widget displayed in admin?
- Create custom dashboard for plugin
- Hide specific categories from category widget
- Can a widget in the Customizer be “single-use” (i.e. disabled after 1 instance has been added)?
- Does the number of widgets installed affect website performance?
- Why is the $old_instance needed for the widget update function?
- Get sidebar parameters (before_widget, before_title, etc.) from within a widget
- How to add image uploader to a custom widget?
- How to add color picker to widgets?
- Remove All Widgets from Sidebar
- Unregistering a Sidebar in Child Theme
- Ban certain widgets from certain sidebars
- How to use jQuery on widget admin page
- is_active_sidebar() Always Returns False
- How could a Widget behave differently depending on sidebar
- jQuery does not work in widget backend
- Count widgets in position and set class
- Custom widget using get_categories select menu dropdown
- How do I add Widgets to my theme and activate them on my site?
- How to insert widget areas specific to certain pages (or posts, etc.)?
- Elegantly using JavaScript on widget admin forms
- Widget queries even when there are no sidebars?
- How to remove Broken Link Checker widget from admin menu
- Add Descriptive text to Widget text box so users can see what they contain
- How to rename wordpress Widget
- Trying to wrap around first word of multiple word strings with a widget_title() filter, only works on two word strings and not more than two
- Read file contents the WP way
- How to hack recent comments default widget?
- Recent Posts widget without Title
- Create a widget that allows text input
- Pre-install widgets in WP-Admin
- Subscribe2 widget with choosing categories?
- How to change plugin`s template (view) correctly?
- Showing a Thickbox (tb_show) does nothing
- jQuery UI inside widget on admin page
- How do I add a widget from an Android phone?
- Error gets thrown when calling require_once on widget.php
- Check if the current shortcode is being used in a widget
- How to create a widget that accepts html input?
- Widget changes in customizer ajax error to many options?
- How to Add TinyMCE to widget
- How can I get the first section of a page 100% width, while the rest will have a sidebar? [closed]
- Modify ‘Sizes’ Attribute for Images with Specific Class
- Dynamically add content to an existing widget area
- Issue understanding and using WordPress filters and actions
- How can I inject html after the [x]th widget inside a Sidebar? [duplicate]
- Widgets not updating despite cache clearing