Any chance of adding a redirect option to the profile completion plugin?

  • Participant
    Level: Initiated
    Posts: 17
    John on #49685

    I use the buddydev profile completion widget to force users to upload a photo first thing after signing up. It would be really great to be able to redirect them to a URL of my choice once they complete that action…

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2752
    Ravi on #49686

    Hello John,

    Thank you for posting. Please try the following code it will redirect the user to mentioned URL once their profile gets complete

    add_action( 'bpprocn_user_profile_completed', function ( $user_id ) {
    	// Provide your redirect url here
    	$location_url = '';
    	bp_core_redirect( $location_url );
    } );

    Please check and let me know if it helps or not.


You must be logged in to reply to this topic.

This topic is: not resolved