WordPress.org

Ready to get started?Download WordPress

Forums

Intercept URL? (1 post)

  1. wesg
    Member
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.