dashboard_secondary_items WordPress Filter Hook
The dashboard_secondary_items hook allows you to add items to the secondary items section of the WordPress admin dashboard. This section is located below the primary items section and above the tertiary items section.
apply_filters( 'dashboard_secondary_items', string $items ) #
Filters the number of secondary link items for the ‘WordPress Events and News’ dashboard widget.
Parameters
- $items
(string)How many items to show in the secondary feed.
Source
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |