wp_network_dashboard_widgets WordPress Filter Hook
The wp_network_dashboard_widgets hook allows you to add custom widgets to the WordPress network administration dashboard. This hook is triggered when the network dashboard is loaded, and gives you the opportunity to add your own custom widgets to the dashboard. This can be useful for displaying custom information or providing an interface for managing network-wide settings.
apply_filters( 'wp_network_dashboard_widgets', string[] $dashboard_widgets ) #
Filters the list of widgets to load for the Network Admin dashboard.
Parameters
- $dashboard_widgets
(string[])An array of dashboard widget IDs.
Source
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |