So I am writing a plugin where after a user completes a form on the front end it needs to send a 301/302 redirect. Whats the best way to do this? How do I make sure my header() function is called before the other headers?
So I am writing a plugin where after a user completes a form on the front end it needs to send a 301/302 redirect. Whats the best way to do this? How do I make sure my header() function is called before the other headers?
This topic has been closed to new replies.