Forums

Stopping a plugin activating (1 post)

  1. Brendon Boshell
    Member
    Posted 2 years ago #

    Hi,

    I am currently developing a new version of a plug-in. Essentially, I want to detect any previous versions of the plug-in in instance, and if there are any, stop the current version from activating.

    I expected there to be a hook on activate_plugin or validate_plugin for which I could trigger an error, but there doesn't seem to be one. I tried outputting text, and get a fatal error, but the plugin is still activated. I'm sure there should be a feature to do this easily, but can't seem to find it.

    Please let me know if you have a solution...

    Thanks,
    Brendon.

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Brendon Boshell
  • This topic is not resolved
  • WordPress version: 2.8.4