public function filter_wp_redirect( $location, $status ) {

		if ( ! $this->should_dispatch() ) {
			return $location;
		}

		$this->before_output();

		/* @var QM_Output_Headers[] */
		foreach ( $this->get_outputters( 'headers' ) as $id => $output ) {
			$output->output();
		}

		$this->after_output();

		return $location;

	}
public function filter_wp_redirect( $location, $status ) {

		if ( ! $this->should_dispatch() ) {
			return $location;
		}

		$this->before_output();

		/* @var QM_Output_Headers[] */
		foreach ( $this->get_outputters( 'headers' ) as $id => $output ) {
			$output->output();
		}

		$this->after_output();

		return $location;

	}
public function filter_wp_redirect ( $ location , $ status ) { if ( ! $ this -> should_dispatch ( ) ) { return $ location ; } $ this -> before_output ( ) ; /* @var QM_Output_Headers[] */ foreach ( $ this -> get_outputters ( 'headers' ) as $ id => $ output ) { $ output -> output ( ) ; } $ this -> after_output ( ) ; return $ location ; }
Filters a redirect location in order to output QM's headers.

@param string $location The path to redirect to.
@param int    $status   Status code to use.
Filters a redirect location in order to output QM s headers .