Warning: This function has been deprecated.
bp_core_is_main_site( int|string $blog_id = '' )
bp_core_is_main_site
Description Description
Checks if current blog is root blog of site. Deprecated in 1.5.
Parameters Parameters
- $blog_id
-
(Optional) blog id to test (default current blog)
Default value: ''
Return Return
(bool) True if not multisite or $blog_id is main site
Source Source
File: bp-core/deprecated/1.5.php
function bp_core_is_main_site( $blog_id = '' ) { _deprecated_function( __FUNCTION__, '1.5', 'is_main_site()' ); return is_main_site( $blog_id ); }
Changelog Changelog
Version | Description |
---|---|
1.5.0 | This function has been deprecated. |
1.2.6 | Introduced. |