A Cozmoslabs Product
Documentation / Developer Knowledge Base / Redirect / Modify the default Redirect Delay timer

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).

In the case of the After registration redirect this setting has been moved directly into Profile Builder. You can find this setting in Profile Builder → Settings → Advanced Settings → Forms → “Modify default Redirect Delay timer”.

For the Edit Profile form, you will need to use the following code:

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;

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.

The Ultimate Membership Bundle

Combine the power of Profile Builder with Paid Member Subscriptions to set up user registration, memberships, and recurring revenue.

Get 25% off with the bundle

Help & Support

We’re here to help you every step of the way.

Open a Support Ticket