privacy_on_link_title WordPress Filter Hook

The privacy_on_link_title hook allows you to filter the title of a link before it is displayed on the front end of a WordPress site. This can be used to remove sensitive information from being displayed, or to add a custom message that will be shown instead.

apply_filters( 'privacy_on_link_title', string $title ) #

Filters the link title attribute for the ‘Search engines discouraged’ message displayed in the ‘At a Glance’ dashboard widget.


Description

Prior to 3.8.0, the widget was named ‘Right Now’.


Top ↑

Parameters

$title

(string)Default attribute text.


Top ↑

Source

File: wp-admin/includes/dashboard.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.5.0The default for $title was updated to an empty string.
3.0.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.