W3cubDocs

/WordPress

do_action_ref_array( 'send_headers', WP $this )

Fires once the requested HTTP headers for caching, content type, etc. have been sent.

Parameters

$this

(WP) Current WordPress environment instance (passed by reference).

More Information

This action hook is used to add additional headers to the outgoing HTTP response.

Source

File: wp-includes/class-wp.php

View on Trac

Changelog

Version Description
2.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/send_headers