Uses
| Uses | Description |
|---|---|
| wp-includes/functions.php: is_main_site() | Determine whether a site is the main site of the current network. |
| wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
This function has been deprecated. Use is_main_site() instead.
Deprecated functionality to determin if the current site is the main site.
File: wp-includes/ms-deprecated.php
function is_main_blog() {
_deprecated_function( __FUNCTION__, '3.0.0', 'is_main_site()' );
return is_main_site();
} | Version | Description |
|---|---|
| 3.0.0 | Use is_main_site() |
| MU (3.0.0) | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/is_main_blog