The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. ehoanshelt
    Posted 4 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 :)


  2. ehoanshelt
    Posted 4 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic