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