Hi, please read the following documentation to help you get started.
Regards
I have already familiarized myself with this documentation. It does not discuss how to redirect to a different url upon successful registration. It redirects right back to the very page that they just filled the form out… which is https://wordpress.org/plugins/registration/ (I have changed the url since my initial inquiry, so disregard the link in the first post)
Hi, please check the following URL and focus on Q3?
Thank you for directing me to this solution. I understand the very basics of coding, so I apologize for my ‘thickness’ 😉
Would I customize the code similar to what I have here?
add_action('swpm_registration_submit', 'my_custom_after_registration_redirection');
function my_custom_after_registration_redirection()
{
$url = 'http://ancestraldevelopment.jeffrygerbermd.com/registration-complete/';//TODO - Specify the URL that you want to redirect to
wp_redirect($url);
}
Hi, the code looks correct to me. Can you give it a test and report back if it works for you.
Regards
Hi. Thank you for your patience. I have placed the exact code above, in the child functions.php file. Although the page is not redirecting as I want… It is still returning to the exact same page.
Hi, sorry but the code I submitted above would not carry out your request. Please delete from your functions.php file. I read your question incorrectly sorry about that :(.
At the present the Form Builder add-on has the option to redirect the subscriber to a different URL after they register.
I would have to purchase the Form Builder add-on in order to be able to accomplish this?
Hi, You did some mistake. Paste this code in your theme functions.php will work like a champ:
add_action('swpm_front_end_registration_complete', 'sam_after_registration_redirection');
function sam_after_registration_redirection()
{
$url = 'http://www.samplugins.com/thank-you/';//TODO - Specify the URL that you want to redirect to
wp_redirect($url);
}