I am creating a custom plugin for wordpress. I need to make a GET request to a file to update information in the database, and redirect to the original page.
GET