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:
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; } |
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.
Profile Builder Pro
Create beautiful front-end registration and profile forms with custom fields. Setup member directories, custom redirects, cutomize user emails & more using the all in one user management plugin.
Unlock PRO Features