wp_original_referer_field
wp_original_referer_field ( $display = true, $jump_back_to = 'current' )
Parameters:- (bool) display Optional. Whether to echo the original http referer. Default true.
- (string) jump_back_to Optional. Can be 'previous' or page you want to jump back to. Default 'current'.
Returns:- (string) Original referer field.
Defined at: - Introduced in WordPress: 2.0.4
- Deprecated in WordPress: —
Description
Retrieves or displays 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.