WordPress Tip: How to Redirect To another Page After Registration

x theme

If you’re allowing registration in your WordPress website, then there is possibility you want new registrars to redirect to a custom page after the registration process.

 

We’re sharing a very handy code snippet to redirect to a custom page after registration. Open your functions.php file and pasted the following code:

function redirect_custom_page() {
	return home_url('/custom-page');
}
add_filter('registration_redirect', 'redirect_custom_page');

Related posts:

About the author

admin

Leave a Reply

Your email address will not be published. Required fields are marked *