Title: Exclude custom headers help
Last modified: January 5, 2024

---

# Exclude custom headers help

 *  Resolved [nyce22](https://wordpress.org/support/users/nyce22/)
 * (@nyce22)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/exclude-custom-headers-help/)
 * since version 2.0.32 you added an option to exclude custom headers. Can you help
   me create a filter for mine? I’ve never created my own before. What code would
   I add to functions.php? For example would a security header like:
 * Header set Strict-Transport-Security “max-age=31536000” env=HTTPS
 * be able to be excluded?

Viewing 1 replies (of 1 total)

 *  Thread Starter [nyce22](https://wordpress.org/support/users/nyce22/)
 * (@nyce22)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/exclude-custom-headers-help/#post-17338022)
 * was resolved in another thread

Viewing 1 replies (of 1 total)

The topic ‘Exclude custom headers help’ is closed to new replies.

 * ![](https://ps.w.org/breeze/assets/icon-256x256.gif?rev=3352595)
 * [Breeze Cache](https://wordpress.org/plugins/breeze/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/breeze/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/breeze/)
 * [Active Topics](https://wordpress.org/support/plugin/breeze/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/breeze/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/breeze/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [nyce22](https://wordpress.org/support/users/nyce22/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/exclude-custom-headers-help/#post-17338022)
 * Status: resolved