privacy_on_link_text хук-фильтрWP 3.0.0

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'.

Использование

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(строка)
Default text.

Список изменений

С версии 3.0.0 Введена.

Где вызывается хук

wp_dashboard_right_now()
privacy_on_link_text
wp-admin/includes/dashboard.php 401
$content = apply_filters( 'privacy_on_link_text', __( 'Search engines discouraged' ) );

Где используется хук в WordPress

Использование не найдено.