wp_user_dashboard_widgets WordPress Filter Hook
The wp_user_dashboard_widgets hook allows you to add custom widgets to the WordPress admin dashboard for your users. This is a great way to give your users quick access to information or tools that they need.
apply_filters( 'wp_user_dashboard_widgets', string[] $dashboard_widgets ) #
Filters the list of widgets to load for the User Admin dashboard.
Parameters
- $dashboard_widgets
(string[])An array of dashboard widget IDs.
Source
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |