Using wp_redirect on the user_register-hook prevents others from using that hook
-
The Plugin uses the user_register-hook, but not gently to others who use it, because it calls wp_redirect and prohibids later calls from been executed.
As a workaround I added a low priority on the use of the hook in this plugin.
Like this:
Line 38 in email-verify.php
` add_action( ‘user_register’, [ $this, ‘user_register’ ], 1000 );So far this works.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Using wp_redirect on the user_register-hook prevents others from using that hook’ is closed to new replies.