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

In this article

Filters the list of widgets to load for the admin dashboard.

Parameters

$dashboard_widgetsstring[]
An array of dashboard widget IDs.

Source

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

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

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