1. Home
  2. Docs
  3. WooCommerce Ajax Login/Register
  4. Code Snippets

Code Snippets

Redirect customer to any custom page after login/register. Just use below snippet by using this snippet you can redirect to customer homepage. You just need to modify this snippet if you want to redirect to any other page.

Snippet for login redirect

Snippet for registration redirect

Just use below snippet by using this snippet you can maintaining login status after successful login. You just need to add this snippet code in a function.php file if you want to maintain login status.

Snippet for After login registration

Was this article helpful to you? Yes No

How can we help?