I have created a settings page for my plugin and I have registered its fields (I used wordpress Settings API and Options API to accomplish that).

I use <?php submit_button(); ?> to submit my form, but it “replaces” the settings with the new values. What I need to do is add the new values to the old ones, without deleting the old values.

How can I achieve this?

edited question