@braun_trutta
Active 5 years, 6 months ago
-
Tanner Moushey replied to the topic [Resolved] Redirect users to Registration other wise set Activity as front page in the forum How-to & Troubleshooting 10 years, 2 months ago
Hey @braun_trutta! Try changing your action to ‘template_redirect’ instead of ‘init’.
so like this:
add_action( 'template_redirect', 'redirect_visitors' );