dashboard_primary_link filter-hook . WP 2.5.0
Filters the primary link URL for the 'WordPress Events and News' dashboard widget.
Usage
add_filter( 'dashboard_primary_link', 'filter_function_name_3579' ); function filter_function_name_3579( $link ){ // filter... return $link; }
- $link(string)
- The widget's primary link URL.
Changelog
Since 2.5.0 | Introduced. |
Where the hook is called
dashboard_primary_link
wp-admin/includes/dashboard.php 1446
'link' => apply_filters( 'dashboard_primary_link', __( 'https://wordpress.org/news/' ) ),