network_site_new_form
Fires at the end of the new site form in network admin.
Description
do_action( 'network_site_new_form' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'network_site_new_form' );
- The following example is for adding a hook callback.
- // define the network_site_new_form callback
- function action_network_site_new_form( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'network_site_new_form', 'action_network_site_new_form', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'network_site_new_form', 'action_network_site_new_form', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /wp-admin/network/site-new.php
- do_action( 'network_site_new_form' );