Support » Developing with WordPress » Get previous version number of a plugin after upgrade?

  • 99w


    We developed a plugin a while ago and didn’t have the foresight to add an option to the database storing the version number to allow us to condition off during an upgrade in future.

    Without this is there a way to find out if the plugin was previously version xxx once the upgrade has occurred?

    Is there anyway to get this data from WordPress within a plugin?

Viewing 1 replies (of 1 total)
  • Alan Fuller


    Not that I know of.

    Why don’t you release a version now that sets an option for that version.

    Then you know that any version where getting the option is false is prior to that version.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.