wp_original_referer_field ( $display = true, $jump_back_to = 'current' )

  • (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'.
  • (string) Original referer field.
Defined at:


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.

Related Functions

wp_get_original_referer, wp_referer_field, wp_get_referer, wp_strict_cross_origin_referrer, wp_get_original_image_url

Top Google Results

User discussions

wpseek mobile