On this page
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
File: wp-includes/class-wp.php. View all references
do_action_ref_array( 'send_headers', array( &$this ) );
Related
Used By
| Used By | Description |
|---|---|
| WP::send_headers() wp-includes/class-wp.php | Sends additional HTTP headers for caching, content type, etc. |
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/send_headers