Tagged Questions
3
votes
2answers
1k views
WP function/filter for modifying http headers?
Is there a dedicated WP function, action or filter to use when adding/modifying the HTTP headers?
For now I just hook a PHP header() call into the WP 'init' hook like this:
add_action('init', ...