A WordPress-centric search engine for devs and theme authors



get_main_network_id ›

Since4.3.0
Deprecatedn/a
apply_filters( 'get_main_network_id', $main_network_id )
Parameters:
  • (int) $main_network_id The ID of the main network.
    Required: Yes
Defined at:
Codex:

Filters the main network ID.





Source

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