wp_referer_field


wp_referer_field ( $display = true )

Parameters:
  • (bool) display Optional. Whether to echo or return the referer field. Default true.
Returns:
  • (string) Referer field HTML markup.
Defined at:

Description

Retrieves or displays referer hidden field for forms.The referer link is the current Request URI from the server super global. The input name is '_wp_http_referer', in case you wanted to check manually.

Related Functions

wp_original_referer_field, wp_delete_file, wp_get_referer, wp_nonce_field, wp_render_widget

Top Google Results

User discussions

wpseek mobile