Modify the default Redirect Delay timer

This will change the amount of seconds that it takes for the After registration redirect to happen (the default is 3 seconds).

All you have to do is replace the number on the last line with the number of seconds that you want to pass before the page redirects:

1
2
3
4
add_filter('wppb_register_redirect_delay', 'wppbc_register_redirect_delay_duration', 10, 3);
function wppbc_register_redirect_delay_duration($delay, $user, $args) {
	return 10;
}

The same thing can be done for the Edit Profile form, the filter is a bit different:

1
2
3
4
add_filter('wppb_edit_profile_redirect_delay', 'wppbc_edit_profile_redirect_delay_duration', 10, 3);
function wppbc_edit_profile_redirect_delay_duration($delay, $user, $args) {
	return 10;
}