Retrieve or display original referer hidden field for forms.
The input name is '_wp_original_http_referer' and will be either the same value of wp_referer_field(), if that was posted already or it will be the current page, if it doesn't exist.
<?php wp_original_referer_field( $echo, $jump_back_to ); ?>
Since: 2.0.4
wp_original_referer_field() is located in wp-includes/functions.php
.