dashboard_secondary_title
Filters the secondary link title for the 'WordPress Events and News' dashboard widget.
Usage
add_filter( 'dashboard_secondary_title', 'wp_kama_dashboard_secondary_title_filter' ); /** * Function for `dashboard_secondary_title` filter-hook. * * @param string $title Title attribute for the widget's secondary link. * * @return string */ function wp_kama_dashboard_secondary_title_filter( $title ){ // filter... return $title; }
- $title(string)
- Title attribute for the widget's secondary link.
Changelog
Since 2.3.0 | Introduced. |
Where the hook is called
dashboard_secondary_title
wp-admin/includes/dashboard.php 1573
'title' => apply_filters( 'dashboard_secondary_title', __( 'Other WordPress News' ) ),