hook function for plugin options saved
-
I was trying and googling for a while, but maybe I did not use the right keywords.
I am writing a plugin. I have a settings for that saves just fine.
I’d like to add a hook, to be able to either do some php stuff either before or after all my options are saved.
I thought I could find some code like
add_action(“options_saved”, “my_function”);
I found several posts, but they seem do not seem to cover my concern.
Moreover: Would it be possible to pass data to such a hooked function, that will not be saved? I want to test the configuration on the server side and like to pass some user entered test data, that must not be saved.
THanks a lot and kind regards
Cornelius
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘hook function for plugin options saved’ is closed to new replies.