I have a certain function on my webpage. Currently it does a few things, and then sends the user to another page and then that page directs to index.php.
I want to change this function to refresh the current page (it must work on all pages, so can't use an url) without any actions set. How can I do this?