I’m writing a plugin that uses $_GET variables, but I’d like to redirect to a new page once the variables have been dealt with, to prevent extra modification.
I’ve tried the wp_redirect function but that appears to only function in the admin panel. I’m using the init action hook, and want to intercept the URL and modify it to remove the variables. Is this possible?
- The topic ‘Intercept URL?’ is closed to new replies.