[wp-trac] [WordPress Trac] #20592: Add hooks to New Site form in Dashboard

WordPress Trac noreply at wordpress.org
Wed Apr 24 10:25:14 UTC 2019


#20592: Add hooks to New Site form in Dashboard
---------------------------------+------------------------------
 Reporter:  MadtownLems          |       Owner:  (none)
     Type:  enhancement          |      Status:  closed
 Priority:  normal               |   Milestone:  Awaiting Review
Component:  Networks and Sites   |     Version:  4.4.3
 Severity:  normal               |  Resolution:  worksforme
 Keywords:  bulk-reopened close  |     Focuses:  multisite
---------------------------------+------------------------------
Changes (by Mista-Flo):

 * keywords:  needs-patch, bulk-reopened => bulk-reopened close
 * status:  reopened => closed
 * version:   => 4.4.3
 * resolution:   => worksforme


Comment:

 There is an action hook since 4.5 just before the submit of the form, so
 you can easily add some custom HTML inputs.

 {{{#!php
 <?php
         /**
          * Fires at the end of the new site form in network admin.
          *
          * @since 4.5.0
          */
         do_action( 'network_site_new_form' );

 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/20592#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list