Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wp php go back

$previous = "javascript:history.go(-1)";
if(isset($_SERVER['HTTP_REFERER'])) {
    $previous = $_SERVER['HTTP_REFERER'];
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #wp #php
ADD COMMENT
Topic
Name
7+4 =