Filter hook 'dashboard_glance_items'
in WP Core File wp-admin/includes/dashboard.php at line 361
Description
Filters the array of extra elements to list in the 'At a Glance' dashboard widget. Prior to 3.8.0, the widget was named 'Right Now'. Each element is wrapped in list-item tags on output.
Occurrences
Filename |
Line Number |
wp-admin/includes/dashboard.php |
361 |
Parameters
Type |
Name |
Description |
string[] |
$items |
Array of extra 'At a Glance' widget items. |
PHP Doc
/**
* Filters the array of extra elements to list in the 'At a Glance'
* dashboard widget.
*
* Prior to 3.8.0, the widget was named 'Right Now'. Each element
* is wrapped in list-item tags on output.
*
* @since 3.8.0
*
* @param string[] $items Array of extra 'At a Glance' widget items.
*/