Options won't save 0 (1 post)

  1. overshee
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.