Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: send_headers

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
367
368           if ( ! empty( $status ) )
369                status_header( $status );
370           foreach( (array) $headers as $name => $field_value )
371                @header("{$name}: {$field_value}");
372
373           if ( $exit_required )
374                exit();
375
376           do_action_ref_array('send_headers', array(&$this));
377      }
378
379      /**
380       * Sets the query string property based off of the query variable property.
381       *
382       * The 'query_string' filter is deprecated, but still works. Plugins should
383       * use the 'request' filter instead.
384       *
385       * @since 2.0.0