Changeset 40371 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 04/03/2017 11:31:33 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r40370 r40371 97 97 * 98 98 * @since MU 2.7 99 * 100 * @return int 101 */ 102 function get_user_count() { 103 return get_site_option( 'user_count' ); 99 * @since 4.8.0 The $network_id parameter has been added. 100 * 101 * @param int|null $network_id ID of the network. Default is the current network. 102 * @return int Number of active users on the network. 103 */ 104 function get_user_count( $network_id = null ) { 105 return get_network_option( $network_id, 'user_count' ); 104 106 } 105 107
Note: See TracChangeset
for help on using the changeset viewer.