Title: wp_headers hook vs admin dashboard
Last modified: August 20, 2016

---

# wp_headers hook vs admin dashboard

 *  [beachbumdad](https://wordpress.org/support/users/beachbumdad/)
 * (@beachbumdad)
 * [14 years ago](https://wordpress.org/support/topic/wp_headers-hook-vs-admin-dashboard/)
 * I’m wanting to filter based on wp_headers, but it doesn’t seem to filter when
   I access wp-admin, the login screen, etc. Only on the main page and when attempting
   to add or edit posts.
 * How can I filter across the entire site?
 * Thanks!
 * John

Viewing 1 replies (of 1 total)

 *  [Nate Reist](https://wordpress.org/support/users/natereist/)
 * (@natereist)
 * [14 years ago](https://wordpress.org/support/topic/wp_headers-hook-vs-admin-dashboard/#post-2752257)
 * There are a couple of ways to approach this. the hook `init` runs when wordpress
   is loaded on both the frontend and backend. However, you may not want to add 
   a **filter** `add_filter` there, you’d more likely want to add an **action** `
   add_action`, but then again you may, depending on what you are trying to accomplish.
 * -Nate

Viewing 1 replies (of 1 total)

The topic ‘wp_headers hook vs admin dashboard’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [Nate Reist](https://wordpress.org/support/users/natereist/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/wp_headers-hook-vs-admin-dashboard/#post-2752257)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
