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 all references
$dashboard_widgets = apply_filters( 'wp_dashboard_widgets', array() );
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |