Hi there,
i have 2 varables: '$user_ID' and 'is_supporter()'
What i need it to say is the following:
If user has logged in, echo 'redirect';
If user has logged in and is supporter, echo 'welcome'
else, echo'welcome to my website'
I have tried the following:
if ($user_ID) {
echo "im logged in";
} elseif (is_supporter()) {
echo "im subscribed";
} else {
echo "redirect";
}
?>