Data Validation and settings_fields( ‘myoption-group’ );
-
I am wondering what is the best way to handle data validation when using settings_fields(‘myoption-group’).
Right now on my options page I have created two options, a temp_option and a regular option that updates on page load. This way when the data is passed to options.php it is validated on the next load.
This kinda seems like a backwards way of doing it however, and I was wondering if anyone knew of any built in functions for handling data validation while using settings_fields(‘myoption-group’) and options.php
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Data Validation and settings_fields( ‘myoption-group’ );’ is closed to new replies.