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'.
Использование
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(строка)
- Default attribute text.
Список изменений
| С версии 3.0.0 | Введена. |
| С версии 4.5.0 | The default for $title was updated to an empty string. |
Где вызывается хук
wp-admin/includes/dashboard.php 395
$title = apply_filters( 'privacy_on_link_title', '' );