Use the Settings API or hook a function to admin_init that checks permissions and nonces, saves the updated values and redirects to the custom settings page.
Use the Settings API or hook a function to admin_init that checks permissions and nonces, saves the updated values and redirects to the custom settings page.