wphooks.info - wp_network_dashboard_setup

wp_network_dashboard_setup

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-admin/includes/dashboard.php:
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
	// WordPress Events and News
	wp_add_dashboard_widget( 'dashboard_primary', __( 'WordPress Events and News' ), 'wp_dashboard_events_news' );

	if ( is_network_admin() ) {

		/**
		 * Fires after core widgets for the Network Admin dashboard have been registered.
		 *
		 * @since 3.1.0
		 */
		do_action( 'wp_network_dashboard_setup' );

		/**
		 * Filters the list of widgets to load for the Network Admin dashboard.
		 *
		 * @since 3.1.0
		 *
		 * @param string[] $dashboard_widgets An array of dashboard widget IDs.
		 */
		$dashboard_widgets = apply_filters( 'wp_network_dashboard_widgets', array() );