is_main_blog()
Deprecated since 3.0.0. It is no longer supported and may be removed in future releases. Use is_main_site() instead.
Deprecated functionality to determine if the current site is the main site.
No Hooks.
Returns
null. Nothing (null).
Usage
is_main_blog();
Notes
- See: is_main_site()
Changelog
| Since 3.0.0 | Introduced. |
| Deprecated since 3.0.0 | Use is_main_site() |
is_main_blog() is main blog code WP 7.0
function is_main_blog() {
_deprecated_function( __FUNCTION__, '3.0.0', 'is_main_site()' );
return is_main_site();
}