wp_referer_field


wp_referer_field ( $echo = true )

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

Description

Retrieve or display 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_nonce_field, wp_get_referer, wp_delete_file, wp_restore_image

Top Google Results

User discussions

wpseek mobile