156234fa by Jeff Balicki

registration_redirect

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 25f14345
...@@ -298,4 +298,13 @@ add_action( 'profile_update', function ( $user_id, $old_user_data ) { ...@@ -298,4 +298,13 @@ add_action( 'profile_update', function ( $user_id, $old_user_data ) {
298 endif; 298 endif;
299 299
300 } 300 }
301
...\ No newline at end of file ...\ No newline at end of file
301
302
303
304 add_action( 'user_register', 'registration_redirect', 10, 1 );
305
306 function registration_redirect( $user_id ) {
307
308 wp_redirect(site_url('/account/profile/'));
309
310 }
...\ No newline at end of file ...\ No newline at end of file
......