W3cubDocs

/WordPress

apply_filters( ‘dashboard_secondary_items’, string $items )

Filters the number of secondary link items for the ‘WordPress Events and News’ dashboard widget.

Parameters

$itemsstring
How many items to show in the secondary feed.

Source

'items'        => apply_filters( 'dashboard_secondary_items', 3 ),

Changelog

Version Description
4.4.0 Introduced.

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