privacy_on_link_title
Filter HookDescription
Filters the link title attribute for the 'Search engines discouraged' message displayed in the 'At a Glance' dashboard widget. Prior to 3.8.0, the widget was named 'Right Now'.Hook Information
File Location |
wp-admin/includes/dashboard.php
View on GitHub
|
Hook Type | Filter |
Line Number | 388 |
Hook Parameters
Type | Name | Description |
---|---|---|
string
|
$title
|
Default attribute text. |
Usage Examples
Basic Usage
<?php
// Hook into privacy_on_link_title
add_filter('privacy_on_link_title', 'my_custom_filter', 10, 1);
function my_custom_filter($title) {
// Your custom filtering logic here
return $title;
}
Source Code Context
wp-admin/includes/dashboard.php:388
- How this hook is used in WordPress core
<?php
383 * @since 3.0.0
384 * @since 4.5.0 The default for `$title` was updated to an empty string.
385 *
386 * @param string $title Default attribute text.
387 */
388 $title = apply_filters( 'privacy_on_link_title', '' );
389
390 /**
391 * Filters the link label for the 'Search engines discouraged' message
392 * displayed in the 'At a Glance' dashboard widget.
393 *
PHP Documentation
<?php
/**
* Filters the link title attribute for the 'Search engines discouraged'
* message displayed in the 'At a Glance' dashboard widget.
*
* Prior to 3.8.0, the widget was named 'Right Now'.
*
* @since 3.0.0
* @since 4.5.0 The default for `$title` was updated to an empty string.
*
* @param string $title Default attribute text.
*/
Quick Info
- Hook Type: Filter
- Parameters: 1
- File: wp-admin/includes/dashboard.php
Related Hooks
Related hooks will be displayed here in future updates.