W3cubDocs

/WordPress

apply_filters( 'get_main_network_id', int $main_network_id )

Filters the main network ID.

Parameters

$main_network_id

(int) The ID of the main network.

Source

File: wp-includes/functions.php

View on Trac

Changelog

Version Description
4.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_main_network_id