Support » Plugins » Hacks » Is there a new site hook?

  • Resolved JohnnyN05



    I was wondering if anyone can either point me to the right direction or answer my question. I wrote a plugin and need to run a function to check a few things before a new site is created. I tried ‘wpmu_new_blog’, ‘activate_blog’, and ‘wpmu_activate_blog’. None seem to work.

    Is there a hook for whenever the superadmin create’s a new site?


Viewing 1 replies (of 1 total)
  • I figured it out.

    I used ‘wpmu_new_blog’ and I also used a lower priority than 10. That seems to work.

    The problem seemed to be in my PHP code.


Viewing 1 replies (of 1 total)
  • The topic ‘Is there a new site hook?’ is closed to new replies.