- This topic has 3 replies, 2 voices, and was last updated 10 years, 8 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Change de message : Registration Successful. Please Login.
Hi,
Because I need to manually approve members on my site, I need to change the message: Registration Successful. Please Login., when someone finish their registration. (I don’t want them to try to login when they are not approved…)
Thanks a lot,
Valerie
Hi Valerie, try the following function. This functions allows you to redirect the member to a different page after the registration. Let me know if it works.
Add the following function to your theme function.php file.
add_action('swpm_front_end_registration_complete', 'sam_after_registration_redirection');
function sam_after_registration_redirection()
{
$url = 'http://www.yourwebsite.com/thank-you/';//TODO - Specify the URL that you want to redirect to
wp_redirect($url);
}
Hi,
I tried, but it is always redirected to the message: “Registration Successful. Please Login.”
Otherwise, there is a place where I can change the text?
Thanks again,
Valérie
Hi, in the function that I provided above which URL did you add for the members to be redirected to? Did you try a custom URL?
Do you also happen to have the Form Builder add-on?