A WordPress-centric search engine for devs and theme authors



wp_user_dashboard_widgets ›

Since3.1.0
Deprecatedn/a
apply_filters( 'wp_user_dashboard_widgets', array()
Parameters:
  • (string[]) $dashboard_widgets An array of dashboard widget IDs.
    Required: Yes
Defined at:
Codex:

Filters the list of widgets to load for the User Admin dashboard.





Source

$dashboard_widgets = apply_filters( 'wp_user_dashboard_widgets', array() );