Redirect and fetch member id?
-
I’m trying to create a php redirect that redirects to an url + epi with a member id.
Not sure how to get these two together :/
<?php $current_user_id = get_current_user_id(); echo $current_user_id; ?>
and
<?php wp_redirect('https://domain.com'); exit(); ?>
The end result would be https://domain.com/?=MEMBERID
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Redirect and fetch member id?’ is closed to new replies.