In WordPress 5. Add the following code to your wp-config. Best way to get the root site ID in MultiSite. Community groups and organizations need an online presence but can find it expensive. If you activate it for the entire Multisite network, it will work on all websites automatically.
nest...