On this page
apply_filters( 'get_main_network_id', int $main_network_id )
Filters the main network ID.
Parameters
$main_network_idint-
The ID of the main network.
Source
File: wp-includes/functions.php. View all references
return (int) apply_filters( 'get_main_network_id', $main_network_id );
Related
Used By
| Used By | Description |
|---|---|
| get_main_network_id() wp-includes/functions.php | Gets the main network ID. |
Changelog
| Version | Description |
|---|---|
| 4.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_main_network_id