Hello,
Is it possible to use a Unique Field ID from the registration to create conditional redirection within the membership area?
Here’s my situation…
My members at level zero are in different groups and they pick their group on registration using a drop-down menu
(Unique Field ID = emp_name)
How can I create an “IF” condition that will redirect each group to different pages which will be accessable to level zero members?
I was thinking of something like the following using PHP…
if ( emp_name = group1 ) {
php wp_redirect( group1_url() ); exit;
}
if ( emp_name = group2 ) {_
php wp_redirect( group2_url() ); exit;
}
if ( emp_name = " " ) {
php wp_redirect( default_product_url() ); exit;
}
My Question is…
- Will this work within WordPress (is the Unique Field ID available to WP).
- Where should I put this (or better) code to get it to work?