Action: switch_network
Fires when the current network context is switched.
Parameters
| Name | Type | Description |
|---|---|---|
| $new_network_id | int | ID of the network that is being switched to. |
| $old_network_id | int | ID of the previously current network. |
Since
- 1.3.0
Source
Defined in inc/functions/network.php at line 900