Refresh a page after entering it?

99 Views Asked by At

I'm using WordPress with the plugin bbPress.

So far, so good.

The only thing I'm stuck at, is the fact that for certains functions to appear (like Approve Reply, Close Topic etc.) I need to refresh the page, otherwise the buttons won't appear.

How can I implement a sort of a function in order to refresh the current page just after I clicked on it? So that basically when I enter this page, it gets automatically refreshed (and so the buttons will appear).

Thank you!

1

There are 1 best solutions below

0
amama wissem On

You can use header function this way: header('Location:'.$_SERVER['REQUEST_URI']);