dashboard_primary_link WordPress Filter Hook

The dashboard_primary_link hook is used to add a link to the primary site admin menu.

apply_filters( 'dashboard_primary_link', string $link ) #

Filters the primary link URL for the ‘WordPress Events and News’ dashboard widget.


Parameters

$link

(string)The widget's primary link URL.


Top ↑

Source

File: wp-admin/includes/dashboard.php

View on Trac



Top ↑

Changelog

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