Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,892
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
@danbp
its after login, what I want is after the registration successful, but I solve my problem in this way
function redirect_after_registration( $user_id ) {
return wp_redirect( get_site_url().'/?p=504' ); exit;
}
add_action( 'bp_core_signup_user', 'redirect_after_registration' );
By the way, is this correct or am I on the right code? Although its works good to my site.