A WordPress Multisite Network lets you run many sites using one WordPress installation. This makes managing multiple sites easier.
Enabling Multisite adds a Network Admin dashboard where you can manage all sites in the network.
The correct constant to enable Multisite is WP_ALLOW_MULTISITE. Other options are invalid and cause errors.
get_bloginfo('name') return on site ID 3?<?php switch_to_blog(3); $name = get_bloginfo('name'); restore_current_blog(); echo $name; ?>
switch_to_blog(3) changes context to site ID 3, so get_bloginfo('name') returns that site's title. Then restore_current_blog() returns to the original site.
The network_admin_menu hook runs only once in the network admin, so add_option runs only for the main site. To add options on each site, you must loop through sites or use site-specific hooks.
