update_option function not working
-
Hi Guys,
Please help me with the function not working inside a callback function for register_setting.
ex:
register_setting(‘set’, ‘set2’, ‘sanitize’);
function sanitize($input){
if(input){
update_option(‘theme_option’,$input);
}If adding that it will never worked and on my experience xampp and wamp are crashing.
- The topic ‘update_option function not working’ is closed to new replies.