wp_dashboard_empty() WordPress Function
The wp_dashboard_empty() function allows you to clear the contents of the WordPress dashboard. This can be useful if you want to start fresh with a new dashboard or if you want to remove clutter from your dashboard.
wp_dashboard_empty() #
Empty function usable by plugins to output empty dashboard widget (to be populated later by JS).
Source
File: wp-admin/includes/dashboard.php
function wp_dashboard_empty() {}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |