$wp_usr_id
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
1 changed file
with
3 additions
and
3 deletions
| ... | @@ -299,11 +299,11 @@ add_action( 'profile_update', function ( $user_id, $old_user_data ) { | ... | @@ -299,11 +299,11 @@ add_action( 'profile_update', function ( $user_id, $old_user_data ) { |
| 299 | 299 | ||
| 300 | } | 300 | } |
| 301 | 301 | ||
| 302 | add_action( 'wpo365/user/creating', 'registration_redirect', 10, 3 ); | 302 | add_action( 'wpo365/user/creating', 'registration_redirect', 10, 1 ); |
| 303 | 303 | ||
| 304 | function registration_redirect() { | 304 | function registration_redirect($wp_usr_id) { |
| 305 | 305 | ||
| 306 | error_log('registration_redirect'); | 306 | error_log('registration_redirect'.$wp_usr_id); |
| 307 | 307 | ||
| 308 | wp_redirect(site_url('/account/profile/')); | 308 | wp_redirect(site_url('/account/profile/')); |
| 309 | 309 | ... | ... |
-
Please register or sign in to post a comment