privacy_on_link_text
Filters the link label 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_text', 'wp_kama_privacy_on_link_text_filter' ); /** * Function for `privacy_on_link_text` filter-hook. * * @param string $content Default text. * * @return string */ function wp_kama_privacy_on_link_text_filter( $content ){ // filter... return $content; }
- $content(string)
- Default text.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
wp-admin/includes/dashboard.php 400
$content = apply_filters( 'privacy_on_link_text', __( 'Search engines discouraged' ) );