Action hook 'network_site_info_form'

in WP Core File wp-admin/network/site-info.php at line 234

View Source

network_site_info_form

Action Hook
Description
Fires at the end of the site info form in network admin.

Hook Information

File Location wp-admin/network/site-info.php View on GitHub
Hook Type Action
Line Number 234

Hook Parameters

Type Name Description
int $id The site ID.

Usage Examples

Basic Usage
<?php
// Hook into network_site_info_form
add_action('network_site_info_form', 'my_custom_function', 10, 1);

function my_custom_function($id) {
    // Your custom code here
}

Source Code Context

wp-admin/network/site-info.php:234 - How this hook is used in WordPress core
<?php
 229  	 *
 230  	 * @since 5.6.0
 231  	 *
 232  	 * @param int $id The site ID.
 233  	 */
 234  	do_action( 'network_site_info_form', $id );
 235  
 236  	submit_button();
 237  	?>
 238  </form>
 239  

PHP Documentation

<?php
/**
	 * Fires at the end of the site info form in network admin.
	 *
	 * @since 5.6.0
	 *
	 * @param int $id The site ID.
	 */
Quick Info
  • Hook Type: Action
  • Parameters: 1
  • File: wp-admin/network/site-info.php
Related Hooks

Related hooks will be displayed here in future updates.