Action hook 'wp_network_dashboard_setup'

in WP Core File wp-admin/includes/dashboard.php at line 101

View Source

wp_network_dashboard_setup

Action Hook
Description
Fires after core widgets for the Network Admin dashboard have been registered.

Hook Information

File Location wp-admin/includes/dashboard.php View on GitHub
Hook Type Action
Line Number 101

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

Basic Usage
<?php
// Hook into wp_network_dashboard_setup
add_action('wp_network_dashboard_setup', 'my_custom_function');

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

Source Code Context

wp-admin/includes/dashboard.php:101 - How this hook is used in WordPress core
<?php
  96  		/**
  97  		 * Fires after core widgets for the Network Admin dashboard have been registered.
  98  		 *
  99  		 * @since 3.1.0
 100  		 */
 101  		do_action( 'wp_network_dashboard_setup' );
 102  
 103  		/**
 104  		 * Filters the list of widgets to load for the Network Admin dashboard.
 105  		 *
 106  		 * @since 3.1.0

PHP Documentation

<?php
/**
		 * Fires after core widgets for the Network Admin dashboard have been registered.
		 *
		 * @since 3.1.0
		 */
Quick Info
  • Hook Type: Action
  • Parameters: 0
  • File: wp-admin/includes/dashboard.php
Related Hooks

Related hooks will be displayed here in future updates.