I have wordpress template in which URL is generating in for of xyz.com/?pickup_location=662#038;pickup_date=2018%2F08%2F08&return_date=2018%2F08%2F10 you can see there & at a place of & so when I trying to get value by $_GET['pickup_date'] it showing blank.
I used $_SERVER['REQUEST_URI'] to get complete URL but it's also not giving me complete URL
it's look like there is use of esc_url() wordpress function. if anyone can help me to get this complete url as a string it can also work for me I could split a string with a parameter name