dashboard_secondary_title
Filters the secondary link title for the 'WordPress Events and News' dashboard widget.
Использование
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(строка)
- Title attribute for the widget's secondary link.
Список изменений
| С версии 2.3.0 | Введена. |
Где вызывается хук
dashboard_secondary_title
wp-admin/includes/dashboard.php 1608
'title' => apply_filters( 'dashboard_secondary_title', __( 'Other WordPress News' ) ),