I'm writing a plugin with a settings/option page and I want some php code to be executed whenever someone saves the settings on that page and that page alone. Which actions do I need to hook into to accomplish this?
If you're using Settings API, then you should use a sanitize callback:
The myth is that the
This is the sample code: