I am using update_option to update options for a plugin I am making. However, I have found that it will not save options with a value of 0. I can use any other alphanumeric value, but 0 doesn’t change the option, it stays as it was before. I can manually set the option to 0 from myPHPadmin, but other than that there seems to be no way to get an option to be 0.
- The topic ‘Options won’t save 0’ is closed to new replies.