apply_filters( ‘get_main_network_id’, int $main_network_id )

In this article

Filters the main network ID.

Parameters

$main_network_idint
The ID of the main network.

Source

return (int) apply_filters( 'get_main_network_id', $main_network_id );

Changelog

VersionDescription
4.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.