Skip to content

Instantly share code, notes, and snippets.

@Binternet
Created March 26, 2017 07:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Binternet/d371bce5a42aa204ad2cbe06c0d7d73b to your computer and use it in GitHub Desktop.
Save Binternet/d371bce5a42aa204ad2cbe06c0d7d73b to your computer and use it in GitHub Desktop.
Where-did-they-go WP Plugin fake referrer
function my_get_referer($value) {
return $_SESSION['gallery_last_view_item'];
}
add_filter( 'wherego_get_referer', 'my_get_referer' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment