I like to execute a update_options() and stuff and then redirect to another plugins page? Directly after the user clicks a link in a Admin notice.
How would i do that? Ajax? Is that even possible?
|
I like to execute a update_options() and stuff and then redirect to another plugins page? Directly after the user clicks a link in a Admin notice. How would i do that? Ajax? Is that even possible? |
|||
|
|
|
You could use Link:
Then you should register a callback for that action:
And in that callback you can do what you want:
Note this is just some untested code, take it as a direction, not as final solution. :) |
||||
|