dashboard_secondary_feed WordPress Filter Hook

The dashboard_secondary_feed hook allows you to add a secondary feed to the WordPress admin dashboard. This is useful if you want to keep up with the latest news from your favorite website or blog.

apply_filters( 'dashboard_secondary_feed', string $url ) #

Filters the secondary feed URL for the ‘WordPress Events and News’ dashboard widget.


Parameters

$url

(string)The widget's secondary feed URL.


Top ↑

Source

File: wp-admin/includes/dashboard.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.3.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.