Change redirect URL after changing user avatar
- 
		Hi everyone Currently, when a user finishes changing their user avatar, they get redirected to their profile. I want them to be redirected to their edit profile screen. The code is in here \wp-content\plugins\buddypress\bp-xprofile\bp-xprofile-screens.php and the code is in the function xprofile_screen_change_avatar().The actual bit of code I need to change is: do_action( 'xprofile_avatar_uploaded' ); bp_core_add_message( __( 'Your new profile photo was uploaded successfully.', 'buddypress' ) ); bp_core_redirect( bp_displayed_user_domain() );What I need to do is edit that bp_core_redirect() without editing BuddyPress’ core files. Any one have any idea how I can do this? 
Viewing 2 replies - 1 through 2 (of 2 total)
	
Viewing 2 replies - 1 through 2 (of 2 total)
	
- The topic ‘Change redirect URL after changing user avatar’ is closed to new replies.