W3cubDocs

/WordPress

apply_filters( ‘dashboard_glance_items’, string[] $items )

Filters the array of extra elements to list in the ‘At a Glance’ dashboard widget.

Description

Prior to 3.8.0, the widget was named ‘Right Now’. Each element is wrapped in list-item tags on output.

Parameters

$itemsstring[]
Array of extra ‘At a Glance’ widget items.

Source

$elements = apply_filters( 'dashboard_glance_items', array() );

Changelog

Version Description
3.8.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/dashboard_glance_items