dashboard_primary_title WordPress Filter Hook

The dashboard_primary_title hook allows you to change the title of the primary dashboard widget. This can be useful if you want to change the default title or add a custom title.

apply_filters( 'dashboard_primary_title', string $title ) #

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


Parameters

$title

(string)Title attribute for the widget's primary link.


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.