apply_filters( 'wp_dashboard_widgets', string[] $dashboard_widgets )

Filters the list of widgets to load for the admin dashboard.

Parameters

$dashboard_widgets

(string[]) An array of dashboard widget IDs.

Source

File: wp-admin/includes/dashboard.php

View on Trac

Changelog

Version Description
2.5.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_dashboard_widgets