Customize Plugin
Your update_option should be inside a hook callback and should check to see if $_POST[‘custom_welcome_panel’] is set before trying to update the option. Otherwise that could be overwriting your option every time the page loads. And, honestly, as written I could shove anything I wanted into that option value. I’d just have to send a … Read more