W3cubDocs

/WordPress

do_action_ref_array( ‘send_headers’, WP $wp )

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

Parameters

$wpWP
Current WordPress environment instance (passed by reference).

More Information

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

Source

do_action_ref_array( 'send_headers', array( &$this ) );

Changelog

Version Description
2.1.0 Introduced.

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