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