is_main_blog() WP 3.0.0
Deprecated in from version 3.0.0. It is no longer supported and can be removed in future releases. Use is_main_site() instead.
Deprecated functionality to determin if the current site is the main site.
No Hooks.
Return
Null. Nothing.
Usage
is_main_blog();
Notes
- See: is_main_site()
Changelog
Since 3.0.0 | Introduced. | |
Deprecated Since 3.0.0 | Use is_main_site() |
Code of is_main_blog() is main blog WP 5.6
function is_main_blog() {
_deprecated_function( __FUNCTION__, '3.0.0', 'is_main_site()' );
return is_main_site();
}