apply_filters( ‘wp_user_dashboard_widgets’, string[] $dashboard_widgets )

In this article

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

Parameters

$dashboard_widgetsstring[]
An array of dashboard widget IDs.

Source

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

Changelog

VersionDescription
3.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.