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.


Top ↑

Source

File: wp-admin/includes/dashboard.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.