Make user to redirect only to activate page on activation

This tip will only work with child theme .
So install wplmsblankchildtheme if you are not using one .
Activate the child theme then add the given code in your child theme functions.php file :

add_action('init','run_custom');
function run_custom(){
	$WPLMS_Actions = WPLMS_Actions::init();
remove_action('bp_core_activated_user',array($WPLMS_Actions,'vibe_redirect_after_registration'),99);
}

 

Leave a Reply

Your email address will not be published. Required fields are marked *