Skip to content

Instantly share code, notes, and snippets.

@zorem
Created August 5, 2019 09:25
Show Gist options
  • Save zorem/ce1166f29f8a54903f88d1db025d366f to your computer and use it in GitHub Desktop.
Save zorem/ce1166f29f8a54903f88d1db025d366f to your computer and use it in GitHub Desktop.
Using this code snippet you can redirect to custom page after register
<?php
add_filter( "wcalr_register_redirect", "wcalr_register_redirect_link", 10, 1);
function wcalr_register_redirect_link($link){
$link = get_home_url();
return $link;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment