dashboard_secondary_link filter-hookWP 2.3.0

Filters the secondary link URL for the 'WordPress Events and News' dashboard widget.

Usage

add_filter( 'dashboard_secondary_link', 'wp_kama_dashboard_secondary_link_filter' );

/**
 * Function for `dashboard_secondary_link` filter-hook.
 * 
 * @param string $link The widget's secondary link URL.
 *
 * @return string
 */
function wp_kama_dashboard_secondary_link_filter( $link ){

	// filter...
	return $link;
}
$link(string)
The widget's secondary link URL.

Changelog

Since 2.3.0 Introduced.

Where the hook is called

wp_dashboard_primary()
dashboard_secondary_link
wp-admin/includes/dashboard.php 1575-1579
'link'         => apply_filters(
	'dashboard_secondary_link',
	/* translators: Link to the Planet website of the locale. */
	__( 'https://planet.wordpress.org/' )
),

Where the hook is used in WordPress

Usage not found.