WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] get_option value disappears on value change (2 posts)

  1. Eric Hoanshelt
    Member
    Posted 2 years ago #

    Hey everyone,

    My plugin when activated sets some default option. One of the option it stores is a value and it can be equal to true or false. Based on this term, it will show or not show a warning. When activating the plugin, everything works great. When I go into the database and change the value in the array, nothing pull up. The get_option returns nothing at all.

    Here is my code:

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    Any help or guidance would be great :)

    Thanks!

  2. Eric Hoanshelt
    Member
    Posted 2 years ago #

    Resolved

Topic Closed

This topic has been closed to new replies.

About this Topic