After registration redirect hooks
-
Hi there,
I am looking for a hook within the plugin to be used after the registration process to add a query parameter of the user’s username just created or ID so that on page load I need to fire a modal box and call in an iframe to do some process and sent the ID of the user to auto-approve it once it is done.
I tried to use this based on the other topics but I think it is only a redirect when the use is logged in from what I saw in the code:
add_filter( 'user_registration_redirect_from_registration_page', function( $redirect, $user ) { return 'https://www.ads-software.com/'; }, 10, 2 );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘After registration redirect hooks’ is closed to new replies.