register_setting and re-setting option values.
-
I’ve got an options form set up using register_setting and settings_fields and its all working fine.
But how do I put in a reset options button? Under the old way I added a button and checked for a $_POST value and could then erase and reset the settings I was storing.
Using register_setting the $_POST gets intercepted and wiped before I can get to it and $_ACTION contains data but its the same data no matter which button I use.
- The topic ‘register_setting and re-setting option values.’ is closed to new replies.