The MU forums have moved to WordPress.org

Any hook after installation? (3 posts)

  1. selad
    Member
    Posted 16 years ago #

    I could not find any hook that runs after WPMU installation is over.

    Anyone knows of one?

  2. theapparatus
    Member
    Posted 16 years ago #

    A hook for a sitewide install or for an individual blog install?

    Gotta admit that I don't see the purpose for a hook after sitewide as you wouldn't have any plugins installed yet.

    For an individual blog, I do see a do_action labeled 'wpmu_new_blog' that you may be able to use as a hook. Line 1217 of wp-includes/wpmu-functions.php. I haven't tested it though.

    edit: That's probably what you;re looking for as the email notifies are hooked to that action.

  3. selad
    Member
    Posted 16 years ago #

    theapparatus, I'm looking for a hook after a sitewide install. You could have a plugin in your mu-plugins that is active.

About this Topic