privacy_on_link_title
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'.
Usage
add_filter( 'privacy_on_link_title', 'wp_kama_privacy_on_link_title_filter' ); /** * Function for `privacy_on_link_title` filter-hook. * * @param string $title Default attribute text. * * @return string */ function wp_kama_privacy_on_link_title_filter( $title ){ // filter... return $title; }
- $title(string)
- Default attribute text.
Changelog
Since 3.0.0 | Introduced. |
Since 4.5.0 | The default for $title was updated to an empty string. |
Where the hook is called
wp-admin/includes/dashboard.php 388
$title = apply_filters( 'privacy_on_link_title', '' );