[insert_php]
/*include($_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-content/RMAPI.php’);
if($_SESSION[“token”] == ” || $_SESSION[“id”] == ” || !is_user_logged_in()) {
apiLogout();
} else if($_POST[‘logout’] == ‘true’){
apiLogout();
} else {
createRoper($_SESSION[“id”], $_SESSION[“roperId”], $_SESSION[“token”]);
}*/
if (isset($_GET[‘errorMessage’])) {
switch ($_GET[‘errorMessage’]) {
case ‘roperProfile’:
echo ‘Please create a roper profile before continuing!‘;
break;
}
}
[/insert_php]