network_site_info_form
Fires at the end of the site info form in network admin.
Usage
add_action( 'network_site_info_form', 'wp_kama_network_site_info_form_action' ); /** * Function for `network_site_info_form` action-hook. * * @param int $id The site ID. * * @return void */ function wp_kama_network_site_info_form_action( $id ){ // action... }
- $id(int)
- The site ID.
Changelog
Since 5.6.0 | Introduced. |
Where the hook is called
In file: /wp-admin/network/site-info.php
network_site_info_form
wp-admin/network/site-info.php 234
do_action( 'network_site_info_form', $id );