Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Change wp registration url
- function wp_change_register_url($link){
- return str_replace(site_url('wp-login.php?action=register', 'login'),site_url('wp-login.php?action=register&lang=' . ICL_LANGUAGE_CODE, 'login'),$link);
- }
- add_filter('register','wp_change_register_url');
Add Comment
Please, Sign In to add comment