apply_filters( 'wp_dashboard_widgets', string[] $dashboard_widgets )

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


Parameters

$dashboard_widgets string[]
An array of dashboard widget IDs.

Top ↑

Source

File: wp-admin/includes/dashboard.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes

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