dashboard_primary_title filter-hookWP 2.3.0

Filters the primary link title for the 'WordPress Events and News' dashboard widget.

Usage

add_filter( 'dashboard_primary_title', 'wp_kama_dashboard_primary_title_filter' );

/**
 * Function for `dashboard_primary_title` filter-hook.
 * 
 * @param string $title Title attribute for the widget's primary link.
 *
 * @return string
 */
function wp_kama_dashboard_primary_title_filter( $title ){

	// filter...
	return $title;
}
$title(string)
Title attribute for the widget's primary link.

Changelog

Since 2.3.0 Introduced.

Where the hook is called

wp_dashboard_primary()
dashboard_primary_title
wp-admin/includes/dashboard.php 1560
'title'        => apply_filters( 'dashboard_primary_title', __( 'WordPress Blog' ) ),

Where the hook is used in WordPress

Usage not found.