wp_network_dashboard_setup
Fires after core widgets for the Network Admin dashboard have been registered.
Description
do_action( 'wp_network_dashboard_setup' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'wp_network_dashboard_setup' );
- The following example is for adding a hook callback.
- // define the wp_network_dashboard_setup callback
- function action_wp_network_dashboard_setup( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'wp_network_dashboard_setup', 'action_wp_network_dashboard_setup', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'wp_network_dashboard_setup', 'action_wp_network_dashboard_setup', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /wp-admin/includes/dashboard.php
- do_action( 'wp_network_dashboard_setup' );