WordPress.org

Ready to get started?Download WordPress

Forums

register_activation_hook (1 post)

  1. Boris
    Member
    Posted 6 years ago #

    I am using register_activation_hook to initiate the options from my plugin when it is activated. But that means as well, that every time when someone updates my plugin (and deactivates/activates it, so new options become available) the default options are being installed in the database again, right? Is there any way that the existing options in the database survive an update?

    Cheers

Topic Closed

This topic has been closed to new replies.

About this Topic