wp_get_network
- wp_get_network is deprecated since version 4.7.0!
Alternative: get_network()
wp_get_network ( $network )
Parameters:- (object|int) network The network's database row or ID.
See:Returns:- (WP_Network|false) Object containing network information if found, false if not.
Defined at: - Introduced in WordPress: 3.9.0
- Deprecated in WordPress: 4.7.0
Description
Retrieves an object containing information about the requested network.