On this page
apply_filters( 'wp_dashboard_widgets', string[] $dashboard_widgets )
Filters the list of widgets to load for the admin dashboard.
Parameters
$dashboard_widgetsstring[]-
An array of dashboard widget IDs.
Source
File: wp-admin/includes/dashboard.php. View all references
$dashboard_widgets = apply_filters( 'wp_dashboard_widgets', array() );
Related
Used By
| Used By | Description |
|---|---|
| wp_dashboard_setup() wp-admin/includes/dashboard.php | Registers dashboard widgets. |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_dashboard_widgets