Title: dashboard_primary_feed
Published: April 25, 2014
Last modified: August 20, 2026

---

# apply_filters( ‘dashboard_primary_feed’, string $url )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/dashboard_primary_feed/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/dashboard_primary_feed/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/dashboard_primary_feed/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/dashboard_primary_feed/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/dashboard_primary_feed/?output_format=md#wp--skip-link--target)

Filters the primary feed URL for the ‘WordPress Events and News’ dashboard widget.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/dashboard_primary_feed/?output_format=md#parameters)󠁿

 `$url`string

The widget’s primary feed URL.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/dashboard_primary_feed/?output_format=md#source)󠁿

    ```php
    'url'          => apply_filters( 'dashboard_primary_feed', __( 'https://wordpress.org/news/feed/' ) ),
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/dashboard.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-admin/includes/dashboard.php#L1563)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/dashboard.php#L1563-L1563)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/dashboard_primary_feed/?output_format=md#related)󠁿

| Used by | Description | 
| [wp_dashboard_primary()](https://developer.wordpress.org/reference/functions/wp_dashboard_primary/)`wp-admin/includes/dashboard.php` |

‘WordPress Events and News’ dashboard widget.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/dashboard_primary_feed/?output_format=md#changelog)󠁿

| Version | Description | 
| [2.3.0](https://developer.wordpress.org/reference/since/2.3.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fdashboard_primary_feed%2F)
before being able to contribute a note or feedback.