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: - Introduced in WordPress: 2.0.4
- Deprecated in WordPress: —
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.