2020-05-01 / 3693阅 / 悠然
Retrieves network data given a network ID or network object.
Network data will be cached and returned after being passed through a filter. If the provided network is empty, the current network global will be used.
(WP_Network|int|null)
(Optional)
Network to retrieve. Default is the current network.
Default value: null
(WP_Network|null) The network object or null if not found.