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.
Source
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |