I want to trigger a function in a plugin when a new sub-blog is created in a multisite set up of WordPress. Is it possible? If so, to which action/filter should I hook?

The motivation here is to modify the new sub-blog blog it has a preset arrangment of settings, theme, plugin options, plugin activations, content set up, etc.

If there aren't action/hooks for this purpose are there any other ways to accomplish this?

  • How about use a plugin that does this already? – andrea_r Nov 14 '10 at 13:31

U guess you can use the activate_blog hook

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.