2020-05-02 / 5127阅 / 悠然
Determine whether a network is the main network of the Multisite installation.
(int)
(Optional)
Network ID to test. Defaults to current network.
Default value: null
(bool) True if $network_id is the main network, or if not running Multisite.