Plugins onInstall event? (2 posts)

  1. fireproofsocks
    Posted 5 years ago #

    Is there an event that fires when a plugin is first installed? I want to run some extended tests when the plugin is first installed -- tests that would be too slow to run each time the plugin is executed.

    Any tips?

  2. fireproofsocks
    Posted 5 years ago #

    Doesn't appear to be one. I think the best solution for this would be to set a flag in the wp_options table and check it... if it's not there (or if it has expired, then run additional tests).

Topic Closed

This topic has been closed to new replies.

About this Topic