I'm trying to concatenate my site_url and a string, but it doesn't work. This is what I'm doing:
$myurl = site_url();
var_dump($myurl);
$url = "https" . $myurl . "/inbox/?fepaction=viewmessage&fep_id=" . $inserted_message->ID;
var_dump($url); die;
The output looks like this:
string(31) "//zgp.mydomain.be" string(78) "https:/inbox/?fepaction=viewmessage&fep_id=4813"
As you can see it isn't merged. How can this be?