Support » Plugins » Hacks » network_site_new_form usage

  • Hi,

    Simple question for “mutlisite install” :

    I would like to add input to the “create a new site” form in the network admin area.
    Since 4.5 there is a hook called “network_site_new_form” which is perfect to ouput new html in to the form.

    But i can’t find any other hook to handle possible new POST data i might have if i had field to the form.

    Any help appreciated 🙂

    Benoit

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    Use the ‘wpmu_new_blog’ action to handle custom data. The new site has been added at this point, and any IDs you might need are passed to your callback.

    wpmu_create_blog()

    Thread Starter MB Creation

    (@mbcreation)

    Hi bcworkz, and thanks for your answer. I’ll test that if i can access to my form !

    Have a good day.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘network_site_new_form usage’ is closed to new replies.